import { Meta } from '@storybook/react';
import React from 'react';
import { ColorPicker } from '../src/ColorPicker';

const meta: Meta<typeof ColorPicker> = {
  component: ColorPicker,
  parameters: {
    layout: 'centered'
  },
  tags: ['autodocs'],
  args: {
    label: 'Color',
    defaultValue: '#ff0'
  }
};

export default meta;

export const Example = (args: any) => <ColorPicker {...args} />;
