Workflow phone number field (#9324)

Add phone number field

<img width="517" alt="Capture d’écran 2025-01-02 à 18 10 06"
src="https://github.com/user-attachments/assets/3c3ac7e6-a7fa-487b-820f-674d42217561"
/>
This commit is contained in:
Thomas Trompette
2025-01-02 18:52:27 +01:00
committed by GitHub
parent 5d857fbfb5
commit 759dcfa910
11 changed files with 239 additions and 8 deletions

View File

@ -4,8 +4,22 @@ type SelectDisplayProps = {
color: ThemeColor | 'transparent';
label: string;
Icon?: IconComponent;
isUsedInForm?: boolean;
};
export const SelectDisplay = ({ color, label, Icon }: SelectDisplayProps) => {
return <Tag preventShrink color={color} text={label} Icon={Icon} />;
export const SelectDisplay = ({
color,
label,
Icon,
isUsedInForm,
}: SelectDisplayProps) => {
return (
<Tag
preventShrink
color={color}
text={label}
Icon={Icon}
preventPadding={isUsedInForm}
/>
);
};