autoresponsive-react icon indicating copy to clipboard operation
autoresponsive-react copied to clipboard

Invalid typescript specification

Open kevinwright opened this issue 2 years ago • 0 comments

Currently, index.t.ts contains:

declare class AutoResponsive extends React.Component<AutoResponsiveProps, any> {}

But this doesn't allow child elements! It instead needs to be

declare class AutoResponsive extends Component<PropsWithChildren<AutoResponsiveProps>, any> {}

kevinwright avatar Jun 18 '22 23:06 kevinwright