Skip to content

Custom toast not working #185

@aldiabdumalik

Description

@aldiabdumalik

Why my custom toast not working?

<Provider store={store}>
      <WithSplashScreen>
        <ToastProvider
          // successIcon={<IconCheckCircle width={14} height={14} color="#27AE60" />}
          renderType={{
            custom_type: (toast) => (
              <View style={{ padding: 15, backgroundColor: 'red' }}>
                <Text>{toast.message}aaaa</Text>
              </View>
            )
          }}
        >
          <GestureHandlerRootView style={{ flex: 1 }}>
          ....

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions