import React from 'react';
import styled from 'styled-components';
import { Meta } from '@storybook/react';
import { Icon } from '../Icon';
import { SIZES, SHAPES, Variant } from './styles';
import { Button } from './';
const meta: Meta = {
title: 'Button',
component: Button,
};
export default meta;
const DISABLED = [false, true] as const;
const HREF = [undefined, 'https://swingby.network'] as const;
const Common = ({ variant }: { variant: Variant }) => (
{HREF.map((href) =>
SHAPES.map((shape) =>
SIZES.map((size) =>
DISABLED.map((disabled) => (
)),
),
),
)}
);
export const Primary = () => ;
export const Secondary = () => ;
export const Tertiary = () => ;
const Container = styled.div`
> *:not(:last-child) {
margin-bottom: 1em;
}
`;