mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-22 16:00:39 +01:00
feat(components): improve RTL support (#2433)
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
@@ -16,7 +16,7 @@ describe('Modal', () => {
|
||||
['without close', { props: { ...props, close: false, title: 'Title', description: 'Description' } }],
|
||||
['with closeIcon', { props: { ...props, closeIcon: 'i-heroicons-trash' } }],
|
||||
['with class', { props: { ...props, class: 'bg-[var(--ui-bg-elevated)]' } }],
|
||||
['with ui', { props: { ...props, ui: { close: 'right-2' } } }],
|
||||
['with ui', { props: { ...props, ui: { close: 'end-2' } } }],
|
||||
// Slots
|
||||
['with default slot', { props, slots: { default: () => 'Default slot' } }],
|
||||
['with content slot', { props, slots: { content: () => 'Content slot' } }],
|
||||
|
||||
Reference in New Issue
Block a user