diff --git a/src/components/MenuItem/MenuItem.tsx b/src/components/MenuItem/MenuItem.tsx index f914b69c..528ff77b 100644 --- a/src/components/MenuItem/MenuItem.tsx +++ b/src/components/MenuItem/MenuItem.tsx @@ -65,7 +65,7 @@ export const MenuItem = ({ kind = "primary", children, ...props -}: Props) => { +}: Props): JSX.Element => { const Component = as ?? ("button" as ElementType); return ( diff --git a/src/components/Search/Search.tsx b/src/components/Search/Search.tsx index d56626aa..3175aabf 100644 --- a/src/components/Search/Search.tsx +++ b/src/components/Search/Search.tsx @@ -51,7 +51,7 @@ export const Search = ({ // TODO: i18n needs to be setup placeholder = "Search…", name, -}: SearchProps) => { +}: SearchProps): JSX.Element => { const classes = classnames(styles.search, className); const id = useId(); return (