|
2 | 2 |
|
3 | 3 | [](https://www.npmjs.com/package/react-native-notifier) |
4 | 4 | [](https://bundlephobia.com/result?p=react-native-notifier) |
| 5 | + |
5 | 6 | [](https://github.com/seniv/react-native-notifier/blob/master/LICENSE) |
6 | 7 |
|
7 | 8 | Fast and simple in-app notifications for React Native |
@@ -162,7 +163,7 @@ Name | Type | Default | Description |
162 | 163 | title | String | null | Title of notification. |
163 | 164 | description | String | null | Description of notification. |
164 | 165 | componentProps.imageSource | Object | null | Passed to `<Image />` as `source` param. |
165 | | -componentProps.ContainerComponent | Object | SafeAreaView | A container of the component. Set it in case you use different SafeAreaView than the standard |
| 166 | +componentProps.ContainerComponent | Component| SafeAreaView | A container of the component. Set it in case you use different SafeAreaView than the standard |
166 | 167 |
|
167 | 168 | ### `NotifierComponents.Alert` |
168 | 169 |
|
@@ -190,7 +191,7 @@ description | String | null | Description of not |
190 | 191 | componentProps.alertType | String | 'success' | Background color will be changed depending on the type. Available values: `error`(red), `success`(green), `warn`(orange) and `info`(blue). |
191 | 192 | componentProps.backgroundColor | String | null | While the background of the alert depends on `alertType`, you can also set the other color you want. |
192 | 193 | componentProps.textColor | String | 'white' | Color of `title` and `description`. |
193 | | -componentProps.ContainerComponent | Object | SafeAreaView | A container of the component. Set it in case you use different SafeAreaView than the standard |
| 194 | +componentProps.ContainerComponent | Component| SafeAreaView | A container of the component. Set it in case you use different SafeAreaView than the standard |
194 | 195 |
|
195 | 196 | ## Custom Component |
196 | 197 |
|
|
0 commit comments