alouette
Version:
A modern, customizable design system built on top of NativeWind v5 with configurable defaults
18 lines • 808 B
TypeScript
import type { ReactNode } from "react";
import type { Accent } from "../../core/AlouetteConfig";
export interface CheckboxProps {
label: string;
/** Required inside a CheckboxGroup: the value toggled in the group's `values`. */
value?: string;
/** Standalone only: controlled checked state. */
checked?: boolean;
/** Standalone only: initial checked state for uncontrolled usage. */
defaultChecked?: boolean;
/** Standalone only. */
onValueChange?: (checked: boolean) => void;
/** Standalone only: a grouped checkbox takes the group's accent. */
accent?: Accent;
disabled?: boolean;
}
export declare function Checkbox({ label, value, checked, defaultChecked, onValueChange, accent, disabled, }: CheckboxProps): ReactNode;
//# sourceMappingURL=Checkbox.d.ts.map