has anyone managed to get this working with TypeScript? #5
Labels
kind: feature
New feature or request
kind: support
Asking for support with something or a specific use case
scope: integration
Related to an integration, not necessarily to core (but could influence core)
scope: types
Related to type definitions
I tried creating a declaration file index.d.ts:
And then importing via:
import * as SignatureCanvas from 'react-signature-canvas';
.But when I use the
<SignatureCanvas />
in my react component I getReact.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: object
Any ideas?
The text was updated successfully, but these errors were encountered: