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

const ContentFields = ({
  contentLabel = 'Content',
  contentName = 'content',
  contentDefault = '<p>Accordion content goes here. You can add multiple lines of text.</p>',
}: ContentFieldsProps) => {
  return (
    // Todo: consider migrating over field library
    <RichTextField
      label={contentLabel}
      name={contentName}
      default={contentDefault}
    />
  );
};

export default ContentFields;
