8 lines
443 B
TypeScript
8 lines
443 B
TypeScript
|
import * as React from 'react';
|
||
|
import type { BlockProps, EllipsisConfig } from './Base';
|
||
|
export interface TextProps extends BlockProps<'span'>, Omit<React.HTMLAttributes<HTMLSpanElement>, 'type' | keyof BlockProps<'span'>> {
|
||
|
ellipsis?: boolean | Omit<EllipsisConfig, 'expandable' | 'rows' | 'onExpand'>;
|
||
|
}
|
||
|
declare const _default: React.ForwardRefExoticComponent<TextProps & React.RefAttributes<HTMLSpanElement>>;
|
||
|
export default _default;
|