react-native-easy-toast icon indicating copy to clipboard operation
react-native-easy-toast copied to clipboard

Missing Typings

Open tr-joe opened this issue 5 years ago • 1 comments

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)

tr-joe avatar Aug 26 '19 18:08 tr-joe

Probably a duplicate of #67.

sk- avatar Oct 09 '19 20:10 sk-