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

const ContentFields = ({
  languageSwitcherSelectTextLabel = 'Language selector text',
  languageSwitcherSelectTextName = 'languageSwitcherSelectText',
  languageSwitcherSelectTextDefault = 'Select a language',
}: ContentFieldsProps) => {
  return (
    <TextField
      label={languageSwitcherSelectTextLabel}
      name={languageSwitcherSelectTextName}
      default={languageSwitcherSelectTextDefault}
    />
  );
};

export default ContentFields;
