UNPKG

lucid-ui

Version:

A UI component library from AppNexus.

16 lines (15 loc) 763 B
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, null, /*#__PURE__*/React.createElement(Placeholder, null, "Select Color"), /*#__PURE__*/React.createElement(Option, { isDisabled: true }, "Red"), /*#__PURE__*/React.createElement(Option, null, "Green"), /*#__PURE__*/React.createElement(Option, { isDisabled: true }, "Blue")); } }); // begin-hide-from-docs export var notes = "\nApply `isDisabled` to dropdown options that aren't currently available.\n"; // end-hide-from-docs