UNPKG

alouette

Version:

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

16 lines 858 B
import type { ReactNode } from "react"; import { type SurfaceProps } from "../containers/Surface"; import type { SegmentedOrientation, SegmentedVariant } from "./SelectionContext"; export interface SegmentedBarProps extends Omit<SurfaceProps, "role" | "shadow" | "size" | "variant"> { role: "navigation" | "radiogroup" | "tablist"; orientation?: SegmentedOrientation; stretch?: boolean; variant?: SegmentedVariant; } /** * Lowered track shared by every segmented group (RadioButtonGroup, NavBar, Tabs). * It is a 44px Surface with no vertical padding, so each item pressable fills the * full height (a 44px tap target) while rendering a shorter visible chip inside it. */ export declare function SegmentedBar({ orientation, stretch, variant, className, ...props }: SegmentedBarProps): ReactNode; //# sourceMappingURL=SegmentedBar.d.ts.map