alouette
Version:
A modern, customizable design system built on top of NativeWind v5 with configurable defaults
22 lines • 996 B
TypeScript
import type { ReactNode } from "react";
export interface SelectionAccentScopeProps {
selected: boolean;
children?: ReactNode;
}
/**
* Keeps the ambient accent for a selected option and drops to the neutral mode
* theme otherwise. Unlike `AccentScope`, it always renders the same scope, so
* toggling the selection never remounts the pressable (which would lose focus).
*/
export declare function SelectionAccentScope({ selected, children, }: SelectionAccentScopeProps): ReactNode;
export interface SelectionIndicatorAccentScopeProps {
children?: ReactNode;
}
/**
* The accent of a radio ring or checkbox box, selected or not: the option's
* own accent inside a `SelectionAccentScope` (whose unselected neutral theme
* would otherwise turn it into the default brand), the default accent
* scope elsewhere.
*/
export declare function SelectionIndicatorAccentScope({ children, }: SelectionIndicatorAccentScopeProps): ReactNode;
//# sourceMappingURL=SelectionAccentScope.d.ts.map