feature/IO-3499-React-19 - Phone Number Formatter / Chat Open Button / Chat Affix container
This commit is contained in:
@@ -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>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user