import Text from '../../Text/index.js';
import type { ContentFieldsProps } from './types.js';

const ContentFields = ({
  titleLabel = 'Title',
  titleName = 'title',
  titleDefault = '<p>Accordion Title</p>',
}: ContentFieldsProps) => {
  return (
    <Text.ContentFields
      textLabel={titleLabel}
      textName={titleName}
      textDefault={titleDefault}
      textFeatureSet="heading"
    />
  );
};

export default ContentFields;
