import type { ReactNode } from "react";
import { Text, 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 (`Run pnpm build first.`).
* 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 `` element on web; native keeps a plain Text.
*/
export function Code({ className, ...props }: CodeProps): ReactNode {
return (
);
}