UNPKG

lucid-ui

Version:

A UI component library from AppNexus.

19 lines (18 loc) 690 B
import React from 'react'; import createClass from 'create-react-class'; import { SingleSelect } from '../../../index'; const { Placeholder, Option } = SingleSelect; export default createClass({ render() { return (React.createElement(SingleSelect, null, React.createElement(Placeholder, null, "Select Color"), React.createElement(Option, { isDisabled: true }, "Red"), React.createElement(Option, null, "Green"), React.createElement(Option, { isDisabled: true }, "Blue"))); }, }); // begin-hide-from-docs export const notes = ` Apply \`isDisabled\` to dropdown options that aren't currently available. `; // end-hide-from-docs