mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +01:00
test(Popover/Tooltip): add class / ui props
This commit is contained in:
@@ -9,6 +9,8 @@ describe('Popover', () => {
|
||||
// Props
|
||||
['with open', { props }],
|
||||
['with arrow', { props: { ...props, arrow: true } }],
|
||||
['with class', { props: { ...props, class: 'shadow-xl' } }],
|
||||
['with ui', { props: { ...props, ui: { content: 'shadow-xl' } } }],
|
||||
// Slots
|
||||
['with default slot', { props, slots: { default: () => 'Default slot' } }],
|
||||
['with content slot', { props, slots: { content: () => 'Content slot' } }]
|
||||
|
||||
Reference in New Issue
Block a user