UNPKG

@cimpress/react-components

Version:
15 lines 1 kB
import React from 'react'; import { Label } from '@cimpress/react-components'; const LabelDemo = () => (React.createElement("div", { className: "row" }, React.createElement("div", { className: "col-md-12" }, React.createElement(Label, { text: "Default" }), React.createElement(Label, { text: "Primary", status: "primary" }), React.createElement(Label, { text: "Success", status: "success" }), React.createElement(Label, { text: "Warning", status: "warning" }), React.createElement(Label, { text: "Danger", status: "danger" }), React.createElement(Label, { text: "Info", status: "info" }), React.createElement(Label, { text: "Custom added class", className: "specialized-added-class", style: { color: 'green' } }), React.createElement(Label, { text: "Large", status: "info", size: "lg" }), React.createElement(Label, { text: "Small", status: "info", size: "sm" })))); export default LabelDemo; //# sourceMappingURL=label.js.map