mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
add custom head component
This commit is contained in:
parent
775ceb47c1
commit
36d20a5a2f
18 changed files with 727 additions and 3 deletions
18
types/Head/HeadActions.d.ts
vendored
Normal file
18
types/Head/HeadActions.d.ts
vendored
Normal 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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue