UNPKG

@patternfly/react-core

Version:

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

10 lines 605 B
import { __rest } from "tslib"; import { jsx as _jsx } from "react/jsx-runtime"; export const FormSelectOption = (_a) => { var { className = '', value = '', isDisabled = false, label, // eslint-disable-next-line @typescript-eslint/no-unused-vars isPlaceholder = false } = _a, props = __rest(_a, ["className", "value", "isDisabled", "label", "isPlaceholder"]); return (_jsx("option", Object.assign({}, props, { className: className, value: value, disabled: isDisabled, children: label }))); }; FormSelectOption.displayName = 'FormSelectOption'; //# sourceMappingURL=FormSelectOption.js.map