UNPKG

@keycloakify/keycloak-account-ui

Version:
6 lines 598 B
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime"; import { PageSection, Text, TextContent, Title } from "@patternfly/react-core"; export const Page = ({ title, description, children, }) => { return (_jsxs(_Fragment, { children: [_jsx(PageSection, { variant: "light", children: _jsxs(TextContent, { children: [_jsx(Title, { headingLevel: "h1", "data-testid": "page-heading", children: title }), _jsx(Text, { component: "p", children: description })] }) }), _jsx(PageSection, { variant: "light", children: children })] })); }; //# sourceMappingURL=Page.js.map