zmp-react
Version:
Build full featured iOS & Android apps using ZMP & React
19 lines (14 loc) • 444 B
TypeScript
import * as React from 'react';
interface TextProps {
slot?: string;
className?: string;
style?: React.CSSProperties;
size?: 'xxxsmall' | 'xxsmall' | 'xsmall' | 'small' | 'normal' | 'large' | 'xlarge';
bold?: boolean;
fontSize?: number;
noSpace?: boolean;
ref?: React.MutableRefObject<{el: HTMLElement | null;}>;
children?: React.ReactNode;
}
declare const Text: React.FunctionComponent<TextProps>;
export default Text;