import React from "react";
import { FormControl, FormControlProps } from "react-compose-form";
import { PostField, PostFieldProps } from "@/components/form/field/post.field";

export type PostControlProps = FormControlProps<PostFieldProps>;

export const PostControl: React.FC<PostControlProps> = (props) => {
    return (
        <FormControl
          {...props}
          as={PostField} />
    );
};
