UNPKG

586 BJavaScriptView Raw
1import { __rest } from "tslib";
2import * as React from 'react';
3import { css } from '@patternfly/react-styles';
4export const FormAlert = (_a) => {
5 var { children = null, className = '' } = _a, props = __rest(_a, ["children", "className"]);
6 return (
7 // There are currently no associated styles with the pf-c-form_alert class.
8 // Therefore, it does not exist in react-styles
9 React.createElement("div", Object.assign({}, props, { className: css('pf-c-form__alert', className) }), children));
10};
11FormAlert.displayName = 'FormAlert';
12//# sourceMappingURL=FormAlert.js.map
\No newline at end of file