Skip to content

Tags: KBLNY/react-native-message-bar

Tags

v1.6.0

Toggle v1.6.0's commit message

v1.5.4

Toggle v1.5.4's commit message

v1.5.3

Toggle v1.5.3's commit message

v1.5.2

Toggle v1.5.2's commit message

v1.5.1

Toggle v1.5.1's commit message

v1.5.0

Toggle v1.5.0's commit message

v1.4.2

Toggle v1.4.2's commit message

v1.4.1

Toggle v1.4.1's commit message

v1.4.0

Toggle v1.4.0's commit message
Tag v1.4.0

1.3.0

Toggle 1.3.0's commit message
## New Features

- New property `shouldHideAfterDelay` : Tell the MessageBar whether or not it should hide after a delay defined in the `duration` property. If `false`, the MessageBar remain shown
- New property `shouldHideOnTap` : Tell the MessageBar whether or not it should hide or not when the user tap the alert. If `false`, the MessageBar will not hide, but the `onTapped` function is triggered, if defined. In addition, if `false`, the `onHide` function will not be triggered. The property `shouldHideAfterDelay` take precedence over `shouldHideOnTap`. That means if `shouldHideAfterDelay` is `false`, the value of `shouldHideOnTap` is not taken into account, since the MessageBar will not ever be hidden
- New property `titleNumberOfLines` : Number of lines of the title. `0` means unlimited
- New property `messageNumberOfLines` : Number of lines of the message. `0` means unlimited
- New property `titleStyle` : Style of the title
- New property `messageStyle` : Style of the message
- New property `avatarStyle` : Style of the icon/avatar

## Bug Fixes
- When a MessageBar alert is shown it hide the existing one and display a new one, instead of replacing the existing one with its new state (formerly using properties)

## Breaking Changes
- Property `type` renamed to `alertType`