lucid-ui
Version:
A UI component library from AppNexus.
14 lines (13 loc) • 809 B
JavaScript
import React from 'react';
import createClass from 'create-react-class';
import { SingleSelect } from '../../../index';
var Placeholder = SingleSelect.Placeholder,
Option = SingleSelect.Option;
export default createClass({
render: function render() {
return /*#__PURE__*/React.createElement(SingleSelect, {
hasReset: false
}, /*#__PURE__*/React.createElement(Placeholder, null, "Select Foo"), /*#__PURE__*/React.createElement(Option, null, "Red"), /*#__PURE__*/React.createElement(Option, null, "Green"), /*#__PURE__*/React.createElement(Option, null, "Blue"));
}
}); // begin-hide-from-docs
export var notes = "\nThis removes the default state, Select one, after a selection has been made. Use `hasReset=\"false\"` to prevent users from deselecting a setting.\n"; // end-hide-from-docs