mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 18:31:06 +00:00
17 lines
553 B
TypeScript
17 lines
553 B
TypeScript
/// <reference types="svelte" />
|
|
import type { SvelteComponentTyped } from "svelte";
|
|
|
|
export interface ToolbarBatchActionsProps
|
|
extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["div"]> {
|
|
/**
|
|
* Override the total items selected text
|
|
* @default (totalSelected) => `${totalSelected} item${totalSelected === 1 ? "" : "s"} selected`
|
|
*/
|
|
formatTotalSelected?: (totalSelected: number) => string;
|
|
}
|
|
|
|
export default class ToolbarBatchActions extends SvelteComponentTyped<
|
|
ToolbarBatchActionsProps,
|
|
{},
|
|
{ default: {}; cancel: {} }
|
|
> {}
|