mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2025-01-16 08:33:17 +01:00
11 lines
217 B
JavaScript
11 lines
217 B
JavaScript
|
import React from 'react';
|
||
|
import styles from './Icon.module.scss';
|
||
|
|
||
|
const Icon = ({ icon }) => (
|
||
|
<svg className={styles['icon']} viewBox={icon.viewBox}>
|
||
|
<path d={icon.path} />
|
||
|
</svg>
|
||
|
);
|
||
|
|
||
|
export default Icon;
|