UNPKG

alouette

Version:

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

13 lines • 638 B
import type { ReactNode } from "react"; import { type TextProps } from "../primitives/Text"; export type CodeProps = TextProps; /** * Inline code — a mono-family fragment tinted on the highlight layer, meant to * sit inside a text flow (`<Paragraph>Run <Code>pnpm build</Code> first.</Paragraph>`). * No size class of its own: nested inside a `Text` it inherits the surrounding * size, so a code fragment never breaks the line rhythm. * * `role="code"` renders a `<code>` element on web; native keeps a plain Text. */ export declare function Code({ className, ...props }: CodeProps): ReactNode; //# sourceMappingURL=Code.d.ts.map