import { FormField } from '@hubspot/cms-components/fields';
import { ContentFieldsProps } from './types.js';

const ContentFields = ({
  formIdLabel = 'Form',
  formIdName = 'form',
  formIdDefault = {},
}: ContentFieldsProps) => {
  return (
    <FormField
      label={formIdLabel}
      name={formIdName}
      embedVersions={['v4', 'v3', 'v2']}
      default={formIdDefault}
    />
  );
};

export default ContentFields;
