mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +01:00
feat(theme)!: migrate from heroicons to lucide (#2540)
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
@@ -30,12 +30,12 @@ describe('Toast', () => {
|
||||
// Props
|
||||
['with title', { props }],
|
||||
['with description', { props: { ...props, description: 'This is a toast' } }],
|
||||
['with icon', { props: { ...props, icon: 'i-heroicons-rocket-launch' } }],
|
||||
['with icon', { props: { ...props, icon: 'i-lucide-rocket' } }],
|
||||
['with avatar', { props: { ...props, avatar: { src: 'https://github.com/benjamincanac.png' } } }],
|
||||
['with actions', { props: { ...props, actions: [{ label: 'Action' }] } }],
|
||||
['with description actions', { props: { ...props, description: 'This is a toast', actions: [{ label: 'Action' }] } }],
|
||||
['without close', { props: { ...props, close: false } }],
|
||||
['with closeIcon', { props: { ...props, closeIcon: 'i-heroicons-trash' } }],
|
||||
['with closeIcon', { props: { ...props, closeIcon: 'i-lucide-trash' } }],
|
||||
['with type', { props: { ...props, type: 'background' as const } }],
|
||||
['with color neutral', { props: { ...props, color: 'neutral' as const } }],
|
||||
['with class', { props: { ...props, class: 'bg-[var(--ui-bg-elevated)]/50' } }],
|
||||
|
||||
Reference in New Issue
Block a user