UNPKG

@open-condo/ui

Version:

A set of React UI components for developing applications inside the condo ecosystem

15 lines 812 B
import React from 'react'; import { TEXT_SIZES, TEXT_TYPES } from './constants'; import type { TextProps as DefaultTextProps } from 'antd/lib/typography/Text'; export type TypographyTextProps = Omit<DefaultTextProps, 'keyboard' | 'type' | 'editable' | 'copyable' | 'mark' | 'className' | 'prefixCls' | 'style'> & { type?: typeof TEXT_TYPES[number]; size?: typeof TEXT_SIZES[number]; lineWrapping?: 'break-spaces'; }; declare const Text: React.ForwardRefExoticComponent<Omit<DefaultTextProps, "type" | "className" | "prefixCls" | "style" | "mark" | "keyboard" | "editable" | "copyable"> & { type?: (typeof TEXT_TYPES)[number]; size?: (typeof TEXT_SIZES)[number]; lineWrapping?: "break-spaces"; } & React.RefAttributes<HTMLSpanElement>>; export { Text, }; //# sourceMappingURL=text.d.ts.map