lucid-ui
Version:
A UI component library from AppNexus.
26 lines (25 loc) • 1.18 kB
JavaScript
import React from 'react';
import createClass from 'create-react-class';
import { SwitchLabeled } from '../../../index';
const style = {
marginBottom: '3px',
marginRight: '13px',
};
export default createClass({
render() {
return (React.createElement("section", { style: {
display: 'inline-flex',
flexDirection: 'column',
alignItems: 'flex-start',
} },
React.createElement(SwitchLabeled, { style: style },
React.createElement(SwitchLabeled.Label, null, "(default props)")),
React.createElement("section", null,
React.createElement(SwitchLabeled, { isSelected: true, style: style },
React.createElement(SwitchLabeled.Label, null, "Selected")),
React.createElement(SwitchLabeled, { isDisabled: true, style: style },
React.createElement(SwitchLabeled.Label, null, "Disabled")),
React.createElement(SwitchLabeled, { isDisabled: true, isSelected: true, style: style },
React.createElement(SwitchLabeled.Label, null, "Disabled & selected")))));
},
});