import React from 'react'; import { TooltipPropsWithTitle } from 'antd/lib/tooltip'; import './index.less'; export type TextType = 'link' | 'label' | 'value'; export interface TextProps extends Partial { className?: string; style?: React.CSSProperties; type?: TextType; maxWidth?: number | string; children?: React.ReactNode; colon?: boolean; onClick?: (e: React.MouseEvent) => void; } declare const Text: (props: TextProps) => React.JSX.Element; export default Text;