@janiscommerce/ui-native
Version:
components library for Janis app
9 lines (8 loc) • 374 B
TypeScript
import React, { ReactElement } from 'react';
import { StyleProp, TextProps as TextComponentProps, TextStyle } from 'react-native';
export interface TextProps extends TextComponentProps {
children?: ReactElement | string;
style?: StyleProp<TextStyle>;
}
declare const Text: ({ children, style, ...props }: TextProps) => React.JSX.Element | null;
export default Text;