lucid-ui
Version:
A UI component library from AppNexus.
28 lines (27 loc) • 1.23 kB
JavaScript
import React from 'react';
import createClass from 'create-react-class';
import { SuccessIcon, SingleSelect } from '../../../index';
var Placeholder = SingleSelect.Placeholder,
Option = SingleSelect.Option;
export default createClass({
render: function render() {
return /*#__PURE__*/React.createElement(SingleSelect, null, /*#__PURE__*/React.createElement(Placeholder, null, /*#__PURE__*/React.createElement(SuccessIcon, {
style: {
marginRight: 4
}
}), " Add Color"), /*#__PURE__*/React.createElement(Option, null, /*#__PURE__*/React.createElement(SuccessIcon, {
style: {
marginRight: 4
}
}), " Red"), /*#__PURE__*/React.createElement(Option, null, /*#__PURE__*/React.createElement(SuccessIcon, {
style: {
marginRight: 4
}
}), " Green"), /*#__PURE__*/React.createElement(Option, null, /*#__PURE__*/React.createElement(SuccessIcon, {
style: {
marginRight: 4
}
}), " Blue"));
}
}); // begin-hide-from-docs
export var notes = "\nThis allows you to include rich content in the dropdown. Use this where an image will help users make a selection, for example a company logo near the company name.\n"; // end-hide-from-docs