From 53bd1d145dcb9f7d836ca71e38bcdd1edec105c3 Mon Sep 17 00:00:00 2001 From: Calin Tamas Date: Mon, 30 Nov 2020 18:49:42 +0200 Subject: [PATCH] publish v1.3.7 --- CHANGELOG.md | 10 ++++++++++ README.md | 10 ++++++++++ package.json | 2 +- 3 files changed, 21 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a76ab03a..9b1356d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,16 @@ Headers are one of: - `Added`, `Changed`, `Removed` or `Fixed`. +## [1.3.7] + +### Added + +- Add Typescript declaration file, fixes [#83](https://github.com/calintamas/react-native-toast-message/issues/83) ([spidi123q](https://github.com/spidi123q) in [#94](https://github.com/calintamas/react-native-toast-message/pull/94)) + +### Fixed + +- Allow style prop to style the base component, fixes [#92](https://github.com/calintamas/react-native-toast-message/issues/92) ([akmjenkins](https://github.com/akmjenkins) in [#93](https://github.com/calintamas/react-native-toast-message/pull/93)) + ## [1.3.6] ### Fixed diff --git a/README.md b/README.md index 01a117a6..148917e9 100644 --- a/README.md +++ b/README.md @@ -78,6 +78,16 @@ Toast.hide({ }); ``` +## props + +### `style` + +Default `Animated.View` styles can be found in [styles.js](https://github.com/calintamas/react-native-toast-message/blob/master/src/styles.js#L4). They can be extended using the `style` prop. + +### `config` + +Allows you to add/overwrite Toast types. Explained below. + ## Customizing the toast types If you want to add custom types - or overwrite the existing ones - you can add a `config` prop when rendering the `Toast` in your app `root`. diff --git a/package.json b/package.json index e719c413..b59ebfa5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-toast-message", - "version": "1.3.6", + "version": "1.3.7", "description": "Toast message component for React Native", "main": "index.js", "scripts": {