import { CoreComponent } from "cmf.core/src/core"; import { FontSize } from "../../pipes/convertFontSize/convertFontSize"; import { TextAlignment } from "../../pipes/convertTextAlignment/convertTextAlignment"; export { FontSize, TextAlignment }; /** * @whatItDoes * Renderers the right component according to the type given. * * @howToUse * This component is used with the inputs and outputs mentioned below. * * ### Inputs * `string` : **for** - Input identifier that correlates with a specific input; * `boolean` : **required** - Identifies this label as mandatory or not; * `string` : **color** - Label text foreground color; * `FontSize` : **fontSize** - Label font size (by default is _FontSize.Normal_); * `TextAlignment` : **alignment** - Label text alignment (by default is _TextAlignment.Left_). * `boolean` : **nowrap** - Should the label wrap it's content? Defaults to false; * * ### Example * To use the component, assume this HTML Template as an example: * * ```HTML * My Label * ``` * */ export declare class Label extends CoreComponent { /** * Input identifier that correlates with a specific input */ for: string; /** * Identifies this label as mandatory or not */ required: boolean; /** * Label text foreground color */ color: string; /** * Label font size */ fontSize: FontSize; /** * Label text alignment */ alignment: TextAlignment; /** * Should the label wrap it's content? */ nowrap: boolean; constructor(); } export declare class LabelModule { }