import React from "react";
import { Text as RNText, type TextProps as RNTextProps } from "react-native";
import { cn } from "../utils/cn";
export interface TextProps extends RNTextProps {
className?: string;
children?: React.ReactNode;
}
/**
* Text component with NativeWind styling. Provides consistent typography
* across consumer apps with dark-mode support.
*/
export function Text({ className, children, ...props }: TextProps) {
return (
{children}
);
}
/** Heading variant with larger size and bold weight. */
export function Heading({ className, children, ...props }: TextProps) {
return (
{children}
);
}
/** Label variant for form labels and small text. */
export function Label({ className, children, ...props }: TextProps) {
return (
{children}
);
}
/** Muted text variant for less prominent content. */
export function MutedText({ className, children, ...props }: TextProps) {
return (
{children}
);
}
/** Monospace text variant for codes, passwords, and technical content. */
export function MonoText({ className, children, ...props }: TextProps) {
return (
{children}
);
}
/** Error text variant for validation messages. */
export function ErrorText({ className, children, ...props }: TextProps) {
return (
{children}
);
}