Some checks failed
- create ComboControl component for typography settings (font size, font weight, line height) - integrate it to TypographyMenu and integrate it to Layout
18 lines
385 B
Svelte
18 lines
385 B
Svelte
<script lang="ts">
|
|
import { cn } from '$shared/shadcn/utils/shadcn-utils.js';
|
|
import { Popover as PopoverPrimitive } from 'bits-ui';
|
|
|
|
let {
|
|
ref = $bindable(null),
|
|
class: className,
|
|
...restProps
|
|
}: PopoverPrimitive.TriggerProps = $props();
|
|
</script>
|
|
|
|
<PopoverPrimitive.Trigger
|
|
bind:ref
|
|
data-slot="popover-trigger"
|
|
class={cn('', className)}
|
|
{...restProps}
|
|
/>
|