Decide how to format / break down the work in #17861
Update the formatting of this ticket to mirror that
Background
In #17862 the Mental health phone number field was updated to use the Phone paragraph type field (instead of the Telephone number field that it previously was). This means the FE query needs to be updated to pull the data properly from these new fields and then display on the FE.
Description
The Phone paragraph type has more fields than what we previously had so there are more conditions to account for:
Type:
Phone: standard component, no additional props
Fax: the not-clickable prop in the component should be used
SMS: the sms prop in the component should be used
TTY: the tty prop should in the component be used
Phone number: This is the info that would go into the contact prop of the component
Extension number: This is the info that would go into the ext prop of the component
Label:
I need to deal with this
Acceptance Criteria
[ ] If type Fax is selected, number is not clickable
[ ] If type SMS is selected, number uses the sms prop
Status
Background
In #17862 the Mental health phone number field was updated to use the Phone paragraph type field (instead of the Telephone number field that it previously was). This means the FE query needs to be updated to pull the data properly from these new fields and then display on the FE.
Description
The Phone paragraph type has more fields than what we previously had so there are more conditions to account for:
not-clickable
prop in the component should be usedsms
prop in the component should be usedtty
prop should in the component be usedcontact
prop of the componentext
prop of the componentAcceptance Criteria
sms
prop