feature/IO-3499-React-19 - Phone Number Formatter / Chat Open Button / Chat Affix container

This commit is contained in:
Dave
2026-01-23 15:50:38 -05:00
parent 53cb1d2f65
commit 7f43ba33f6
6 changed files with 82 additions and 55 deletions

View File

@@ -11,13 +11,8 @@ export default function PhoneNumberFormatter({ children, type }) {
return (
<span>
<Text>{phone}</Text>
{type ? (
<>
{" "}
<Text type="secondary">({type})</Text>
</>
) : null}
<span>{phone}</span>
{type ? <Text type="secondary"> ({type})</Text> : null}
</span>
);
}