UNPKG

@keycloakify/keycloak-admin-ui

Version:
9 lines 748 B
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime"; import { Text, TextContent, Title } from "@patternfly/react-core"; import "./wizard-section-header.css"; export const WizardSectionHeader = ({ title, description, showDescription = false, }) => { return (_jsxs(_Fragment, { children: [_jsx(Title, { size: "xl", headingLevel: "h2", className: showDescription ? "kc-wizard-section-header__title--has-description" : "kc-wizard-section-header__title", children: title }), showDescription && (_jsx(TextContent, { className: "kc-wizard-section-header__description", children: _jsx(Text, { children: description }) }))] })); }; //# sourceMappingURL=WizardSectionHeader.js.map