You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,6 +68,7 @@ Shows a Snackbar, dismissing any existing Snackbar first. Accepts an object with
68
68
|`text`|`string`| Required. | The message to show. |
69
69
|`duration`| See below |`Snackbar.LENGTH_SHORT`| How long to display the Snackbar. |
70
70
|`numberOfLines`|`number`|`2`| The max number of text lines to allow before ellipsizing. |
71
+
|`marginBottom`|`number`|`0`| Margin from bottom. |
71
72
|`textColor`|`string` or `style`|`'white'`| The color of the message text. |
72
73
|`backgroundColor`|`string` or `style`|`undefined` (dark gray) | The background color for the whole Snackbar. |
73
74
|`fontFamily`|`string`|`undefined`| [Android only] The basename of a `.ttf` font from `assets/fonts/` (see [setup guide](https://github.com/facebook/react-native/issues/25852) and [example app](/example), remember to `react-native link` after). |
@@ -134,7 +135,7 @@ If you want to help contribute to this library, here are local setup steps:
134
135
1. Set up the example app too: `cd example && yarn install`
135
136
1. Within the example directory, `react-native run-android` to run it
136
137
137
-
The example app will update automatically when changing JS code. To see your changes in the example app after updating native library code:
138
+
The example app will update automatically when changing JS code. To see your changes in the example app after updating native library code, reinstall it via:
138
139
139
-
1. `yarn install && react-native run-android` in the example directory
140
+
1. `yarn add file:.. && react-native run-android` in the example directory
0 commit comments