import {TextFeatureSet} from '../../Text/types.js'

export type AccordionIconType = 'chevron' | 'plus' | 'caret';

export type AccordionTitleProps = {
  icon?: AccordionIconType;
  fieldPath?: string;
  className?: string;
  style?: React.CSSProperties;
  children?: React.ReactNode;
};

export type ContentFieldsProps = {
  titleLabel?: string;
  titleName?: string;
  titleDefault?: string;
  titleTextFeatureSet?: TextFeatureSet;
};

export type StyleFieldsProps = {
  iconLabel?: string;
  iconName?: string;
  iconDefault?: AccordionIconType;
};
