mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
18 lines
396 B
TypeScript
18 lines
396 B
TypeScript
/// <reference types="svelte" />
|
|
|
|
export interface ToolbarProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["section"]> {
|
|
/**
|
|
* Specify the toolbar size
|
|
* @default "default"
|
|
*/
|
|
size?: "sm" | "default";
|
|
}
|
|
|
|
export default class Toolbar {
|
|
$$prop_def: ToolbarProps;
|
|
$$slot_def: {
|
|
default: {};
|
|
};
|
|
|
|
$on(eventname: string, cb: (event: Event) => void): () => void;
|
|
}
|