mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
test(Modal): add test without close
This commit is contained in:
@@ -10,6 +10,7 @@ describe('Modal', () => {
|
||||
['with fullscreen', { props: { open: true, portal: false, fullscreen: true, title: 'Title', description: 'Description' } }],
|
||||
['without overlay', { props: { open: true, portal: false, overlay: false, title: 'Title', description: 'Description' } }],
|
||||
['without transition', { props: { open: true, portal: false, transition: false, title: 'Title', description: 'Description' } }],
|
||||
['without close', { props: { open: true, portal: false, close: null, title: 'Title', description: 'Description' } }],
|
||||
['with class', { props: { open: true, portal: false, class: 'bg-gray-50 dark:bg-gray-800' } }],
|
||||
['with ui', { props: { open: true, portal: false, ui: { close: 'right-2' } } }],
|
||||
['with default slot', { props: { open: true, portal: false }, slots: { default: () => 'Default slot' } }],
|
||||
|
||||
Reference in New Issue
Block a user