DEV Community

Discussion on: Why I stopped spreading props on React Components

Collapse
 
wolverineks profile image
Kevin Sullivan

What about?

interface MyCompProps extends ActionableProps {
  type?: 'round',
  value: React.Node
}