From fb4c8f1fa6bfa0b6d5d6512281b186b8f9195f5a Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Mon, 9 Jul 2018 09:36:10 +0200 Subject: [PATCH] yarn docs:api --- pages/api/snackbar.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/api/snackbar.md b/pages/api/snackbar.md index 484ac79704c829..63bc4af59469dd 100644 --- a/pages/api/snackbar.md +++ b/pages/api/snackbar.md @@ -16,7 +16,7 @@ title: Snackbar API | Name | Type | Default | Description | |:-----|:-----|:--------|:------------| | action | node |   | The action to display. | -| anchorOrigin | {horizontal: union: number |
 enum: 'left' |
 'center' |
 'right'

, vertical: union: number |
 enum: 'top' |
 'center' |
 'bottom'

} | { vertical: 'bottom', horizontal: 'center',} | The anchor of the `Snackbar`. | +| anchorOrigin | {horizontal?: union: number |
 enum: 'left' |
 'center' |
 'right'

, vertical?: union: number |
 enum: 'top' |
 'center' |
 'bottom'

} | { vertical: 'bottom', horizontal: 'center',} | The anchor of the `Snackbar`. | | autoHideDuration | number |   | The number of milliseconds to wait before automatically calling the `onClose` function. `onClose` should then set the state of the `open` prop to hide the Snackbar. This behavior is disabled by default with the `null` value. | | children | element |   | If you wish the take control over the children of the component you can use this property. When used, you replace the `SnackbarContent` component with the children. | | classes | object |   | Override or extend the styles applied to the component. See [CSS API](#css-api) below for more details. |