mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-28 10:50:40 +01:00
feat(Alert/Toast)!: add orientation prop
This commit is contained in:
@@ -154,8 +154,21 @@ name: 'toast-actions-example'
|
||||
---
|
||||
::
|
||||
|
||||
::note
|
||||
Actions renders differently when the description is not set. You can try to remove it.
|
||||
### Orientation
|
||||
|
||||
Use the `orientation` prop to change the orientation of the Toast.
|
||||
|
||||
::component-example
|
||||
---
|
||||
options:
|
||||
- name: 'orientation'
|
||||
label: 'orientation'
|
||||
default: 'horizontal'
|
||||
items:
|
||||
- horizontal
|
||||
- vertical
|
||||
name: 'toast-orientation-example'
|
||||
---
|
||||
::
|
||||
|
||||
## Examples
|
||||
|
||||
Reference in New Issue
Block a user