Skip to content

Commit 3d30732

Browse files
committed
refactor(app): add subtext to IM modal content
Sorry! It's kind of ugly but needed, right now
1 parent 9d86668 commit 3d30732

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

app/src/molecules/InterventionModal/ModalContentOneColSimpleButtons.tsx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export interface ModalContentOneColSimpleButtonsProps {
2424
buttons: ButtonProps[]
2525
onSelect?: ChangeEventHandler<HTMLInputElement>
2626
initialSelected?: string
27+
subText?: string
2728
}
2829

2930
export function ModalContentOneColSimpleButtons(
@@ -56,6 +57,15 @@ export function ModalContentOneColSimpleButtons(
5657
}}
5758
/>
5859
))}
60+
{props.subText != null ? (
61+
<LegacyStyledText
62+
fontSize={TYPOGRAPHY.fontSize22}
63+
fontWeight={TYPOGRAPHY.fontWeightRegular}
64+
lineHeight={TYPOGRAPHY.lineHeight28}
65+
>
66+
{props.subText}
67+
</LegacyStyledText>
68+
) : null}
5969
</Flex>
6070
</Flex>
6171
</OneColumn>

0 commit comments

Comments
 (0)