import type { Meta, StoryObj } from '@storybook/react';

import { mockedPeopleData } from '~/testing/mock-data/people';

import { PeopleFullNameEditableField } from '../../editable-field/components/PeopleFullNameEditableField';

const meta: Meta<typeof PeopleFullNameEditableField> = {
  title: 'Modules/People/EditableFields/PeopleFullNameEditableField',
  component: PeopleFullNameEditableField,
};

export default meta;
type Story = StoryObj<typeof PeopleFullNameEditableField>;

export const Default: Story = {
  render: () => <PeopleFullNameEditableField people={mockedPeopleData[0]} />,
};
