Skip to content

Commit

Permalink
docs: update toast page
Browse files Browse the repository at this point in the history
  • Loading branch information
cheton committed Nov 7, 2024
1 parent 5c7ad10 commit 7b55b87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-docs/pages/components/toast/index.page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ const createCloseToastHandler = (id) => () => {

| Name | Type | Default | Description |
| :--- | :--- | :------ | :---------- |
| children | ReactNode | ReactNode \| `({ onClose }) => ReactNode` | A function child can be used intead of a React element. This function is invoked with an object that includes the `onClose` prop. |
| children | ReactNode | A function child can be used intead of a React element. This function is invoked with an object that includes the `onClose` prop. |
| duration | number | null | The duration in milliseconds after which the toast will be automatically closed. Set to `null` to disable auto-closing. |
| onClose | function | | A callback called when the toast is being closed. |

Expand Down

0 comments on commit 7b55b87

Please sign in to comment.