diff --git a/apps/frontend/src/utils/createInputComponents.tsx b/apps/frontend/src/utils/createInputComponents.tsx index 4e09b6e..ef656b1 100644 --- a/apps/frontend/src/utils/createInputComponents.tsx +++ b/apps/frontend/src/utils/createInputComponents.tsx @@ -1,4 +1,6 @@ import { + Chip, + ChipProps, Fieldset, FieldsetProps, MultiSelect, @@ -43,12 +45,17 @@ type Group = { inputs: AcceptedInput[]; } & FieldsetProps; +type ChipType = { + type: "chip"; +} & Omit; + type AcceptedInput = ( | TextInputType | MultiSelectInputType | PasswordInputType | NumberInputType | SelectType + | ChipType | Group ) & GeneralInputProps; @@ -117,6 +124,17 @@ function createInputComponents(options: Options) { return
{localComponents}
; } + + case "chip": { + return ( + + ); + } } };