1 | import { __rest } from "tslib";
|
2 | import * as React from 'react';
|
3 | import styles from '@patternfly/react-styles/css/components/Form/form';
|
4 | import { css } from '@patternfly/react-styles';
|
5 | export const FormSection = (_a) => {
|
6 | var { className = '', children, title = '', titleElement: TitleElement = 'div' } = _a, props = __rest(_a, ["className", "children", "title", "titleElement"]);
|
7 | return (React.createElement("section", Object.assign({}, props, { className: css(styles.formSection, className) }),
|
8 | title && React.createElement(TitleElement, { className: css(styles.formSectionTitle, className) }, title),
|
9 | children));
|
10 | };
|
11 | FormSection.displayName = 'FormSection';
|
12 |
|
\ | No newline at end of file |