File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 3
3
import { twMerge as merge } from ' tailwind-merge' ;
4
4
5
5
import Badge from ' $lib/holocene/badge.svelte' ;
6
+ import type { ButtonStyles } from ' $lib/holocene/button.svelte' ;
6
7
import Button , {
7
8
type ButtonWithoutHrefProps ,
8
9
} from ' $lib/holocene/button.svelte' ;
30
31
export let hasIndicator = false ;
31
32
export let id: string = null ;
32
33
export let label: string = null ;
34
+ export let variant: ButtonStyles [' variant' ] = ' secondary' ;
33
35
34
36
const dispatch = createEventDispatcher <{ click: { open: boolean } }>();
35
37
const { open, menuElement } = getContext <MenuContext >(MENU_CONTEXT );
85
87
aria-controls ={controls }
86
88
aria-expanded ={$open }
87
89
aria-label ={label }
90
+ {variant }
88
91
class ={merge (className )}
89
92
{...$$restProps }
90
93
>
You can’t perform that action at this time.
0 commit comments