UNPKG

lucid-ui

Version:

A UI component library from AppNexus.

14 lines (13 loc) 748 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, { isDisabled: true }, /*#__PURE__*/React.createElement(Placeholder, null, "Select Color"), /*#__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 = "\nApply `isDisabled` to the dropdown if none of the options are currently available.\n"; // end-hide-from-docs