Skip to content

Conversation

cindy0306
Copy link

interface 'style' element missing

Copy link

@popocreator popocreator left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use this component...

import React from 'react';
import Toast, {ToastComponentProps} from 'react-native-easy-toast';

interface Props extends ToastComponentProps {
  style: any;
}

const TSToast = React.forwardRef(
  (props: Props, ref: React.LegacyRef<Toast>) => <Toast ref={ref} {...props} />,
);

export default TSToast;

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

Successfully merging this pull request may close these issues.

2 participants