diff options
Diffstat (limited to 'src/components/atoms/icons/home.tsx')
| -rw-r--r-- | src/components/atoms/icons/home.tsx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/components/atoms/icons/home.tsx b/src/components/atoms/icons/home.tsx index 3b6732d..dd39b15 100644 --- a/src/components/atoms/icons/home.tsx +++ b/src/components/atoms/icons/home.tsx @@ -3,6 +3,10 @@ import styles from './home.module.scss'; export type HomeProps = { /** + * Should the svg be hidden from assistive technologies? + */ + 'aria-hidden'?: boolean; + /** * Set additional classnames to the icon. */ className?: string; @@ -13,12 +17,13 @@ export type HomeProps = { * * Render a home svg icon. */ -const Home: FC<HomeProps> = ({ className = '' }) => { +const Home: FC<HomeProps> = ({ className = '', ...props }) => { return ( <svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg" className={`${styles.icon} ${className}`} + {...props} > <path className={styles.wall} |
