Files
ersatztv/design-system/components/forms/Checkbox.d.ts
T
2026-07-02 07:37:00 +02:00

17 lines
418 B
TypeScript

import * as React from "react";
export interface CheckboxProps {
checked?: boolean;
onChange?: (next: boolean) => void;
label?: string;
/** Mixed state for "select all" headers. */
indeterminate?: boolean;
disabled?: boolean;
style?: React.CSSProperties;
}
/**
* Checkbox for multi-select rows and option lists; supports indeterminate.
*/
export function Checkbox(props: CheckboxProps): JSX.Element;