Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
20 lines
484 B
Plaintext
20 lines
484 B
Plaintext
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
import React from 'react';
|
|
const baseClass = 'form-header';
|
|
export function FormHeader({
|
|
description,
|
|
heading
|
|
}) {
|
|
if (!heading) {
|
|
return null;
|
|
}
|
|
return /*#__PURE__*/_jsxs("div", {
|
|
className: baseClass,
|
|
children: [/*#__PURE__*/_jsx("h1", {
|
|
children: heading
|
|
}), Boolean(description) && /*#__PURE__*/_jsx("p", {
|
|
children: description
|
|
})]
|
|
});
|
|
}
|
|
//# sourceMappingURL=index.js.map |