HeaderGlobalActions: type definition, doc and test updated

This commit is contained in:
militant_gnome 2024-01-15 18:12:21 +02:00 committed by Eric Liu
commit 256332b16a
3 changed files with 4 additions and 6 deletions

View file

@ -1,9 +1,7 @@
import type { SvelteComponentTyped } from "svelte";
import type { SvelteHTMLElements } from "svelte/elements";
import type { ButtonProps } from "../Button/Button.svelte";
type RestProps = SvelteHTMLElements["button"];
export interface HeaderGlobalActionProps extends RestProps {
export interface HeaderGlobalActionProps extends ButtonProps {
/**
* Set to `true` to use the active variant
* @default false