Merged PR 2238: refactor(newappeal): extract BuildCheckSection presentation components (Slice 5)
refactor(newappeal): extract BuildCheckSection presentation components (Slice 5) Related work items: #22586
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
const DocsOfflineNotice = ({ noticeText, returnLink }) => {
|
||||
return (
|
||||
<>
|
||||
<div className="govuk-warning-text ">
|
||||
<span className="govuk-warning-text__icon" aria-hidden="true">
|
||||
!
|
||||
</span>
|
||||
<strong className="govuk-warning-text__text govuk-!-margin-top-2">
|
||||
<span className="govuk-visually-hidden">Notice</span>
|
||||
{noticeText}
|
||||
{" "}
|
||||
</strong>
|
||||
</div>{" "}
|
||||
{returnLink}
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
export default DocsOfflineNotice;
|
||||
Reference in New Issue
Block a user