1234567891011121314151617181920212223242526272829303132333435 |
- import styled from '@emotion/styled';
- import CheckboxFancy from 'sentry/components/checkboxFancy/checkboxFancy';
- export default {
- title: 'Components/Forms/Misc/Checkbox Fancy',
- component: CheckboxFancy,
- args: {
- size: 100,
- isChecked: true,
- },
- };
- export const _CheckboxFancy = ({size, isChecked}) => {
- return (
- <Container>
- <CheckboxFancy size={`${size}px`} isChecked={isChecked} />
- </Container>
- );
- };
- _CheckboxFancy.storyName = 'Checkbox Fancy';
- _CheckboxFancy.parameters = {
- docs: {
- description: {
- story: 'A fancy looking checkbox',
- },
- },
- };
- const Container = styled('div')`
- display: flex;
- flex-direction: column;
- padding: 20px;
- `;
|