Skip to content

Commit 94516c5

Browse files
Use NHS Tag component
1 parent b3851e4 commit 94516c5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/organisms/ReviewTemplate/ReviewTemplate.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import { ZodErrorSummary } from '@molecules/ZodErrorSummary/ZodErrorSummary';
44
import { NHSNotifyRadioButtonForm } from '@molecules/NHSNotifyRadioButtonForm/NHSNotifyRadioButtonForm';
5-
import { Container, Row, Col } from 'nhsuk-react-components';
5+
import { Container, Row, Col, Tag } from 'nhsuk-react-components';
66
import { TemplateType, TemplateStatus } from '@utils/enum';
77
import concatClassNames from '@utils/concat-class-names';
88
import styles from './ReviewTemplate.module.scss';
@@ -63,9 +63,9 @@ export function ReviewTemplate({
6363
<div className={styles.preview__col_heading}>Status</div>
6464
</Col>
6565
<Col width='two-thirds' className={styles.col}>
66-
<div className='nhsuk-tag'>
66+
<Tag>
6767
{templateStatustoDisplayMappings(props.template.templateStatus)}
68-
</div>
68+
</Tag>
6969
</Col>
7070
</Row>
7171
</div>

0 commit comments

Comments
 (0)