lucid-ui
Version:
A UI component library from AppNexus.
18 lines (17 loc) • 959 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("section", {
style: {
minHeight: 90
}
}, /*#__PURE__*/React.createElement(SingleSelect, {
isSelectionHighlighted: 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 = "\nUse `isSelectionHighlighted=\"false\"` when the dropdown defaults to null selections such as All or Any. The grey outline indicates that this selection does not need users' attention.\n"; // end-hide-from-docs