Open epragalakis opened 3 years ago
Description
Is there a way to hide the props of the element I'm extending? In the Docz output I want to be able to see the props I'm defining and not all the props of the HTML element.
interface MyProps extends HTMLAttributes<HTMLElement> { children: React.ReactNode; className?: string; } const MyComponent: React.FC<MyProps> = ({children, className}) => { return (<div className={className}>{children}</div>); }
Question
Description
Is there a way to hide the props of the element I'm extending? In the Docz output I want to be able to see the props I'm defining and not all the props of the HTML element.
Example Component
Docz output