Skip to content
This repository has been archived by the owner on Jun 8, 2022. It is now read-only.

Commit

Permalink
Merge pull request #930 from Ferlab-Ste-Justine/fix/stylePatientInfo
Browse files Browse the repository at this point in the history
fix: CLIN-813 titre patient info
  • Loading branch information
claudia1296 authored Apr 28, 2022
2 parents 9ec9cd3 + 9c84895 commit ee47aa3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
import React, { ReactNode } from 'react';
import { Typography } from 'antd';

type Props = { title: string; value?: string | ReactNode };

const { Text } = Typography;

const DetailsRow = ({ title, value }: Props): React.ReactElement => (
<div className="patient-section__col__details__row">
<span className="patient-section__col__details__row__title">{title}</span>
<Text className="patient-section__col__details__row__title">{title}</Text>
<span className="patient-section__col__details__row__info">{value || '--'}</span>
</div>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
&__title {
color: $gray-7;
font-weight: 500;
font-size: 12px;
}

&__info {
Expand Down

0 comments on commit ee47aa3

Please sign in to comment.