@patternfly/react-core
Version:
This library provides a set of common React components for use with the PatternFly reference implementation.
8 lines • 517 B
JavaScript
import { __rest } from "tslib";
import * as React from 'react';
export const FormSelectOptionGroup = (_a) => {
var { children = null, className = '', isDisabled = false, label } = _a, props = __rest(_a, ["children", "className", "isDisabled", "label"]);
return (React.createElement("optgroup", Object.assign({}, props, { disabled: !!isDisabled, className: className, label: label }), children));
};
FormSelectOptionGroup.displayName = 'FormSelectOptionGroup';
//# sourceMappingURL=FormSelectOptionGroup.js.map