New components, convert hooks to components, bug fixes.
This commit is contained in:
7
components/Icon.js
Normal file
7
components/Icon.js
Normal file
@@ -0,0 +1,7 @@
|
||||
import React from 'react';
|
||||
import classNames from 'classnames';
|
||||
import styles from './Icon.module.css';
|
||||
|
||||
export default function Icon({ icon, className }) {
|
||||
return <div className={classNames(styles.icon, className)}>{icon}</div>;
|
||||
}
|
||||
Reference in New Issue
Block a user