@patternfly/react-core
Version:
This library provides a set of common React components for use with the PatternFly reference implementation.
10 lines • 593 B
JavaScript
import { __rest } from "tslib";
import * as React from 'react';
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 (React.createElement("option", Object.assign({}, props, { className: className, value: value, disabled: isDisabled }), label));
};
FormSelectOption.displayName = 'FormSelectOption';
//# sourceMappingURL=FormSelectOption.js.map