carbon-react
Version:
A library of reusable React components for easily building user interfaces.
17 lines (16 loc) • 772 B
TypeScript
import React from "react";
import { TagProps } from "../../__internal__/utils/helpers/tags";
export interface BatchSelectionProps extends TagProps {
/** Content to be rendered after selected count */
children: React.ReactNode;
/** Color of the background, transparent if not defined */
colorTheme?: "dark" | "light" | "white" | "transparent";
/** If true disables all user interaction */
disabled?: boolean;
/** Hidden if true */
hidden?: boolean;
/** Number of selected elements */
selectedCount: number;
}
export declare const BatchSelection: ({ disabled, children, colorTheme, selectedCount, hidden, "data-element": dataElement, "data-role": dataRole, }: BatchSelectionProps) => React.JSX.Element;
export default BatchSelection;