add custom head component

This commit is contained in:
Daniel Miedzik 2021-01-14 16:36:52 +01:00
commit 36d20a5a2f
18 changed files with 727 additions and 3 deletions

18
types/Head/HeadActions.d.ts vendored Normal file
View file

@ -0,0 +1,18 @@
/// <reference types="svelte" />
export interface HeadActionsProps {
/**
* Set the width of the head actions
* @default "100%"
*/
width?: string;
}
export default class HeadActions {
$$prop_def: HeadActionsProps;
$$slot_def: {
default: {};
};
$on(eventname: string, cb: (event: Event) => void): () => void;
}