UNPKG

carbon-components-svelte

Version:
25 lines (18 loc) 565 B
import { SvelteComponentTyped } from "svelte"; import type { SvelteHTMLElements } from "svelte/elements"; type $RestProps = SvelteHTMLElements["div"]; type $Props = { /** * Set to `true` to stack the buttons vertically * @default false */ stacked?: boolean; children?: (this: void) => void; [key: `data-${string}`]: unknown; }; export type ButtonSetProps = Omit<$RestProps, keyof $Props> & $Props; export default class ButtonSet extends SvelteComponentTyped< ButtonSetProps, Record<string, any>, { default: Record<string, never> } > {}