The index.d.ts in the react-css-themr NPM package is not the same as the index.d.ts in this repository. The one in NPM package does not have an option for React.SFC<P> in the export function themr, whereas the the export function in this repo's index.ts has React.SFC<P>.
You will need to publish the package with the latest index.d.ts.
The
index.d.ts
in the react-css-themr NPM package is not the same as the index.d.ts in this repository. The one in NPM package does not have an option forReact.SFC<P>
in theexport function themr
, whereas the the export function in this repo's index.ts hasReact.SFC<P>
.You will need to publish the package with the latest index.d.ts.