Skip to content

Conversation

@acealone
Copy link

@acealone acealone commented Feb 6, 2023

Please give it a good look before merging. I am pretty new to React Native and React in general.
This should theoretically add some more style options to the current ones.

@borisevstratov
Copy link

Seems like you can use containerStyle property for that, e.g.:

    Toast.show("Toast:test message", {
      duration: Toast.durations.LONG,
      position: Toast.positions.TOP,
      shadow: false,
      animation: true,
      hideOnPress: true,
      delay: 0,
      textColor: "cyan",
      containerStyle: {
        borderRadius: 25,
        padding: 50,
        backgroundColor: "red",
      },
    });

IMG_D36E821D62FC-1

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