@telsystems/design
Version:
Design components
15 lines (14 loc) • 499 B
TypeScript
import * as React from 'react';
import { ILabel } from './ILabel';
export declare const LABEL_POSITION_TOP = "top";
export declare const LABEL_POSITION_LEFT = "left";
export declare const LABEL_POSITION_RIGHT = "right";
export declare class Label extends React.PureComponent<ILabel> {
static defaultProps: ILabel;
onClick: () => void;
render(): JSX.Element;
private renderLabelContent;
private renderLabelText;
private renderChildrenContent;
private getTooltipIconRef;
}