Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing Typings #83

Open
tr-joe opened this issue Aug 26, 2019 · 1 comment
Open

Missing Typings #83

tr-joe opened this issue Aug 26, 2019 · 1 comment

Comments

@tr-joe
Copy link

tr-joe commented Aug 26, 2019

The properties in the Demo are not in typings
so it causes ERROR to show ...

Type '{ ref: (ref: Toast) => Toast; style: { backgroundColor: any; width: number; height: number; borderRadius: number; flex: number; alignItems: string; justifyContent: string; }; position: any; positionValue: number; fadeInDuration: number; fadeOutDuration: number; opacity: number; textStyle: { ...; }; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<Toast> & Readonly<{}> & Readonly<{ children?: ReactNode; }>'. Property 'style' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<Toast> & Readonly<{}> & Readonly<{ children?: ReactNode; }>'.ts(2322)

@sk-
Copy link

sk- commented Oct 9, 2019

Probably a duplicate of #67.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants