@viktorvojtek/react-native-simple-components
Version:
Collection of essential UI components based on react-native components
16 lines (15 loc) • 516 B
TypeScript
import React from "react";
import type { ReactNode } from "react";
import { TextStyle } from "react-native";
type Props = {
children: ReactNode;
color?: string;
fontSize?: number | string;
fontWeight?: number | string;
letterSpacing?: string;
numberOfLines?: number;
style?: TextStyle;
} & Omit<TextStyle, "fontSize" | "fontWeight" | "color">;
export type TextProps = Props;
declare const _default: React.MemoExoticComponent<(props: Props) => React.JSX.Element>;
export default _default;