import React from "react";
import { FormControl, FormControlProps } from "react-compose-form";
import { TagField, TagFieldProps } from "@/components/form/field/tag.field";

type TagControlProps = FormControlProps<TagFieldProps>;

export const TagControl: React.FC<TagControlProps> = (props) => {
    return (
        <FormControl
          {...props}
          as={TagField} />
    );
};
