import { ReactNode } from "react"; import { TextProps } from "react-native"; export default function Text({ text, size, bold, centered, italic, spaced, style, color, margin, marginHorizontal, marginVertical, marginTop, marginRight, marginBottom, marginLeft, numberOfLines, selectable, children, }: { text?: string; size?: number; bold?: boolean; centered?: boolean; italic?: boolean; spaced?: boolean; style?: TextProps["style"]; color?: string; numberOfLines?: number; margin?: number; marginHorizontal?: number; marginVertical?: number; marginTop?: number; marginRight?: number; marginBottom?: number; marginLeft?: number; selectable?: boolean; children?: ReactNode; }): JSX.Element | null;