79403140

Date: 2025-01-31 15:06:13
Score: 0.5
Natty:
Report link

This is how you create a generic component using an arrow function.

const StyledDropdown = <T,>(props: React.PropsWithChildren<Props<T>>) => {
    return (
        <></>
    );
};

export default StyledDropdown;
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Koen van der Marel