This is how you create a generic component using an arrow function.
const StyledDropdown = <T,>(props: React.PropsWithChildren<Props<T>>) => { return ( <></> ); }; export default StyledDropdown;