From 82b70a23bc8fabedc8333f5063a858f7e90f253f Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Thu, 31 Mar 2022 23:04:39 +0200 Subject: chore: add a Moon icon component --- src/components/atoms/icons/moon.tsx | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/components/atoms/icons/moon.tsx (limited to 'src/components/atoms/icons/moon.tsx') diff --git a/src/components/atoms/icons/moon.tsx b/src/components/atoms/icons/moon.tsx new file mode 100644 index 0000000..82b0ef6 --- /dev/null +++ b/src/components/atoms/icons/moon.tsx @@ -0,0 +1,21 @@ +import { FC } from 'react'; +import styles from './moon.module.scss'; + +type MoonProps = { + title?: string; +}; + +const Moon: FC = ({ title }) => { + return ( + + {title !== 'undefined' && {title}} + + + ); +}; + +export default Moon; -- cgit v1.2.3