import { Meta, StoryObj } from '@storybook/react';
import { createGroups } from '../../../helpers/storybook';
import { FormGroupTitle } from './FormGroupTitle';

const groups = createGroups({
  Content: ['title'],
  Styling: ['className'],
});

const meta: Meta<typeof FormGroupTitle> = {
  title: 'Primary Components/Form Elements/FormGroupTitle',
  component: FormGroupTitle,
  argTypes: {
    ...groups,
  },
};
export default meta;

export const Main: StoryObj<typeof FormGroupTitle> = {
  args: {
    title: 'Group Title',
  },
};
