mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 18:31:06 +00:00
* fix(combo-box): clicking chevron should not open the combo box if disabled Fixes #776 * fix(toolbar-batch-actions): cancel text should be slottable Fixes #782
17 lines
548 B
TypeScript
17 lines
548 B
TypeScript
/// <reference types="svelte" />
|
|
import { 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: {} }
|
|
> {}
|