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)`
Activity
sk- commentedon Oct 9, 2019
Probably a duplicate of #67.