UNPKG

alouette

Version:

A modern, customizable design system built on top of NativeWind v5 with configurable defaults

10 lines • 521 B
import type { Density } from "../controlSizes"; /** Set by `DensityScope`; `comfortable` outside one. */ export declare const DensityContext: import("react").Context<"comfortable" | "compact">; /** * The nearest `DensityScope`'s density. The control sizes already follow it * through the `--spacing-control-*` tokens; read this for a dimension set from * JS (a glyph or a spinner sized to the control, `controlHeightsPx`). */ export declare function useDensity(): Density; //# sourceMappingURL=DensityContext.d.ts.map