@patternfly/react-core
Version:
This library provides a set of common React components for use with the PatternFly reference implementation.
13 lines • 682 B
JavaScript
import { __rest } from "tslib";
import { jsx as _jsx } from "react/jsx-runtime";
import { css } from '@patternfly/react-styles';
import styles from '@patternfly/react-styles/css/components/Form/form.mjs';
export const FormAlert = (_a) => {
var { children = null, className = '' } = _a, props = __rest(_a, ["children", "className"]);
return (
// There are currently no associated styles with the pf-v6-c-form_alert class.
// Therefore, it does not exist in react-styles
_jsx("div", Object.assign({}, props, { className: css(`${styles.form}__alert`, className), children: children })));
};
FormAlert.displayName = 'FormAlert';
//# sourceMappingURL=FormAlert.js.map