UNPKG

@patternfly/react-core

Version:

This library provides a set of common React components for use with the PatternFly reference implementation.

14 lines 783 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.FormSelectOption = void 0; const tslib_1 = require("tslib"); const React = tslib_1.__importStar(require("react")); const FormSelectOption = (_a) => { var { className = '', value = '', isDisabled = false, label, // eslint-disable-next-line @typescript-eslint/no-unused-vars isPlaceholder = false } = _a, props = tslib_1.__rest(_a, ["className", "value", "isDisabled", "label", "isPlaceholder"]); return (React.createElement("option", Object.assign({}, props, { className: className, value: value, disabled: isDisabled }), label)); }; exports.FormSelectOption = FormSelectOption; exports.FormSelectOption.displayName = 'FormSelectOption'; //# sourceMappingURL=FormSelectOption.js.map