import { ComponentMeta, ComponentStory } from '@storybook/react';
import { AgentMinVersion } from './agent-min-version';
import { ASSETS_URL } from '../../../consts/common';

export default {
  title: 'Cards/Agent Min Version',
  component: AgentMinVersion
} as ComponentMeta<typeof AgentMinVersion>;

const Template: ComponentStory<typeof AgentMinVersion> = args => <AgentMinVersion {...args} />;

export const Primary = Template.bind({});
Primary.args = {
  title: 'Windows',
  subtitle: 'Current Version: 7.2.0.125',
  icon: `${ASSETS_URL}/icons/icon_windows.svg`,
  valueList: [
    { name: '7.2.0.125', selected: false },
    { name: '7.2.12.8', selected: false },
    { name: '7.2.0.125', selected: false },
    { name: '7.2.12.11', selected: false },
    { name: '7.2.12.5', selected: false }
  ]
};
