UNPKG

@cfxjs/react-ui

Version:

Modern and minimalist React UI library.

42 lines (41 loc) 988 B
import React from 'react'; import { NormalTypes } from '../utils/prop-types'; interface Props extends Omit<React.HTMLAttributes<any>, keyof Props> { h1?: boolean; h2?: boolean; h3?: boolean; h4?: boolean; h5?: boolean; h6?: boolean; p?: boolean; b?: boolean; small?: boolean; i?: boolean; span?: boolean; del?: boolean; em?: boolean; blockquote?: boolean; className?: string; size?: string | number; type?: NormalTypes; } export declare type TextProps = Props; declare const _default: React.ComponentType<Partial<{ h1: boolean; h2: boolean; h3: boolean; h4: boolean; h5: boolean; h6: boolean; p: boolean; b: boolean; small: boolean; i: boolean; span: boolean; del: boolean; em: boolean; blockquote: boolean; className: string; type: "default" | "primary" | "secondary" | "success" | "warning" | "error"; }> & Pick<Props, "size">>; export default _default;