diff options
Diffstat (limited to 'src/components/atoms/icons/moon.tsx')
| -rw-r--r-- | src/components/atoms/icons/moon.tsx | 13 | 
1 files changed, 10 insertions, 3 deletions
| diff --git a/src/components/atoms/icons/moon.tsx b/src/components/atoms/icons/moon.tsx index 82b0ef6..4f52319 100644 --- a/src/components/atoms/icons/moon.tsx +++ b/src/components/atoms/icons/moon.tsx @@ -1,14 +1,21 @@ -import { FC } from 'react'; +import { VFC } from 'react';  import styles from './moon.module.scss';  type MoonProps = { +  /** +   * Set additional classnames to the icon. +   */ +  className?: string; +  /** +   * The SVG title. +   */    title?: string;  }; -const Moon: FC<MoonProps> = ({ title }) => { +const Moon: VFC<MoonProps> = ({ className = '', title }) => {    return (      <svg -      className={styles.icon} +      className={`${styles.icon} ${className}`}        viewBox="0 0 100 100"        xmlns="http://www.w3.org/2000/svg"      > | 
