import { HTagArray, HTag } from '../../types/HTag';
export const HeadingTag = {
  options: HTagArray,
  defaultValue: HTag.H2,
  control: { type: 'select' },
};
export function textWithDefault(defaultValue) {
  return {
    defaultValue: defaultValue,
    control: {
      type: 'text',
    },
  };
}
export function tableData(category, type, defaultValue) {
  return {
    category,
    type: {
      summary: type,
    },
    defaultValue: {
      summary: defaultValue,
    },
  };
}
