alouette
Version:
A modern, customizable design system built on top of NativeWind v5 with configurable defaults
12 lines • 543 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;
//# sourceMappingURL=SelectionAccentScope.d.ts.map