Repository URL to install this package:
|
Version:
4.2.0-a11y.0 ▾
|
import { ReactNode } from 'react';
export interface LabelButtonClickEventProps extends Function {
(props: LabelProps): void;
}
export interface LabelRenderProp {
(props: LabelProps): ReactNode;
}
export interface LabelProps {
className?: string;
wrapperClass?: string;
labelText?: string;
text?: string;
icon?: ReactNode;
onClick?: Function;
children?: ReactNode;
dataQa?: string;
value?: string | number;
identity?: string;
renderWrapper?: LabelRenderProp;
renderLinkButton?: LabelRenderProp;
renderLabel?: LabelRenderProp;
}