import React from 'react';
import styled from 'styled-components';
import { SIZES } from '../Button/styles'; // eslint-disable-line import/no-internal-modules
import { Icon } from '../Icon';
import { CopyToClipboard } from './';
export default {
title: 'CopyToClipboard',
component: CopyToClipboard,
};
export const Default = () => (
{SIZES.map((size) => (
}
value={`A ${size}-sized CopyToClipboard component`}
data-testid={`copy-${size}`}
/>
))}
);
export const Accent = () => (
{SIZES.map((size) => (
}
value={`A ${size}-sized CopyToClipboard component`}
data-testid={`copy-${size}`}
/>
))}
);
const Container = styled.div`
> *:not(:last-child) {
margin-bottom: 1em;
}
`;