1 | import * as React from 'react';
|
2 | import { TooltipPosition } from '../Tooltip';
|
3 | export declare enum TruncatePosition {
|
4 | start = "start",
|
5 | end = "end",
|
6 | middle = "middle"
|
7 | }
|
8 | interface TruncateProps extends React.HTMLProps<HTMLSpanElement> {
|
9 |
|
10 | className?: string;
|
11 |
|
12 | content: string;
|
13 |
|
14 | trailingNumChars?: number;
|
15 |
|
16 | position?: 'start' | 'middle' | 'end';
|
17 |
|
18 | tooltipPosition?: TooltipPosition | 'auto' | 'top' | 'bottom' | 'left' | 'right' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end' | 'right-start' | 'right-end';
|
19 | }
|
20 | export declare const Truncate: React.FunctionComponent<TruncateProps>;
|
21 | export {};
|
22 |
|
\ | No newline at end of file |