Label

Label Control


Usage

 import { ItsyLabel } from '@itsy-ui/common';

 const LabelSchema = {
    "title": "Order placed successfully.",
    "headerSize": "h3",
    "alignText": "center",
    "style":{ "text-align": "center"}
}
<ItsyLabel schema={LabelSchema} />


API

name type default description
className String '' additional class name of root node.
style Object {} Inline style object
schema Object {} Schema which contains information to be displayed.


Schema API’s

name type default description
title string Order placed successfully Label title text
headerSize String h3 title text headersize set this property
alignText String center align of the text


Compatibility

IE / Edge
IE / Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
Electron
Electron
Edge last 2 versions last 2 versions last 2 versions last 2 versions