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

import {Tracker} from './index';

const argTypes = {
  state: {
    control: 'radio',
    options: ['complete', 'current', 'disabled', 'error'],
  },
  continued: {control: 'boolean'},
};

const meta: Meta<typeof Tracker> = {
  title: 'HuGo/Tracker',
  component: Tracker,
  argTypes,
};

type Story = StoryObj<typeof Tracker>;

export const TrackerComponent: Story = {
  args: {
    state: 'complete',
    continued: true,
  },
};

export default meta;
