alouette
Version:
A modern, customizable design system built on top of NativeWind v5 with configurable defaults
16 lines • 743 B
TypeScript
import type { ReactNode } from "react";
export interface CheckboxIndicatorProps {
selected: boolean;
disabled?: boolean;
/** Set on a filled surface (accent, or the disabled fill), where the accent
* box and the outlined tokens have no contrast. */
onAccent?: boolean;
/** Takes the row's press on the box alone, for a row that does not move. */
withPressEffect?: boolean;
}
/**
* Checked-box indicator shared by Checkbox and CheckboxCard. Its hover/active
* colors are driven by the `group` on the pressable row that contains it.
*/
export declare function CheckboxIndicator({ selected, disabled, onAccent, withPressEffect, }: CheckboxIndicatorProps): ReactNode;
//# sourceMappingURL=CheckboxIndicator.d.ts.map