From 732d0943f8041d76262222a092b014f2557085ef Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Mon, 2 May 2022 18:57:29 +0200 Subject: chore: add homepage --- src/components/molecules/nav/nav.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/components/molecules/nav/nav.tsx') diff --git a/src/components/molecules/nav/nav.tsx b/src/components/molecules/nav/nav.tsx index 2666ea2..581f813 100644 --- a/src/components/molecules/nav/nav.tsx +++ b/src/components/molecules/nav/nav.tsx @@ -23,6 +23,10 @@ export type NavItem = { }; export type NavProps = { + /** + * An accessible name. + */ + 'aria-label'?: string; /** * Set additional classnames to the navigation wrapper. */ @@ -51,6 +55,7 @@ const Nav: FC = ({ items, kind, listClassName = '', + ...props }) => { const kindClass = `nav--${kind}`; @@ -71,7 +76,7 @@ const Nav: FC = ({ }; return ( -