export default GridBody; type GridBody = { $on?(type: string, callback: (e: any) => void): () => void; $set?(props: Partial>): void; }; /** * The interactive version of ``. A labelled row group can be made collapsible, in which * case the caption doubles as an expander button that shows or hides the rows. * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody * @see https://w3c.github.io/aria/#rowgroup * @see https://www.w3.org/WAI/ARIA/apg/patterns/disclosure/ */ declare const GridBody: import("svelte").Component<{ /** * The `class` attribute on the wrapper element. */ class?: string | undefined; /** * Display label for the row group. */ label?: string | undefined; /** * Whether the rows can be hidden with an expander in the * caption. Requires `label`. */ collapsible?: boolean | undefined; /** * Whether the rows are shown. Only applies when `collapsible`. An * alias of the `aria-expanded` attribute on the expander button. */ expanded?: boolean | undefined; /** * Primary slot content. */ children?: Snippet<[]> | undefined; /** * Chevron slot content for the expander. */ chevronIcon?: Snippet<[]> | undefined; /** * Custom `Change` event handler, called with * the new `expanded` state in `detail` when the expander is toggled. */ onChange?: ((event: CustomEvent) => void) | undefined; } & Record, {}, "expanded">; type Props = { /** * The `class` attribute on the wrapper element. */ class?: string | undefined; /** * Display label for the row group. */ label?: string | undefined; /** * Whether the rows can be hidden with an expander in the * caption. Requires `label`. */ collapsible?: boolean | undefined; /** * Whether the rows are shown. Only applies when `collapsible`. An * alias of the `aria-expanded` attribute on the expander button. */ expanded?: boolean | undefined; /** * Primary slot content. */ children?: Snippet<[]> | undefined; /** * Chevron slot content for the expander. */ chevronIcon?: Snippet<[]> | undefined; /** * Custom `Change` event handler, called with * the new `expanded` state in `detail` when the expander is toggled. */ onChange?: ((event: CustomEvent) => void) | undefined; }; import type { Snippet } from 'svelte';