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:
@ -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}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user