Skip to content

Commit

Permalink
docs: update api
Browse files Browse the repository at this point in the history
  • Loading branch information
calintamas committed Dec 15, 2023
1 parent 3e6f747 commit e652885
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ The following set of `props` can be passed to the `Toast` component instance to
| `position` | Default Toast position | `top` or `bottom` | `top` |
| `visibilityTime` | Number of milliseconds after which Toast automatically hides. Has effect only in conjunction with `autoHide` prop set to `true` | `number` | `4000` |
| `autoHide` | When `true`, the visible Toast automatically hides after a certain number of milliseconds, specified by the `visibilityTime` prop | `boolean` | `true` |
| `swipeable` | When `true`, the Toast can be swiped to dismiss | `boolean` | `true` |
| `topOffset` | Offset from the top of the screen (in px). Has effect only when `position` is `top` | `number` | `40` |
| `bottomOffset` | Offset from the bottom of the screen (in px). Has effect only when `position` is `bottom` | `number` | `40` |
| `keyboardOffset` | Offset from the Keyboard (in px). Has effect only when `position` is `bottom` and Keyboard is visible (iOS only) | `number` | `10` |
Expand Down

0 comments on commit e652885

Please sign in to comment.