mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-11-10 08:17:46 +01:00
21 lines
422 B
JavaScript
21 lines
422 B
JavaScript
import React from 'react';
|
|
import Button from '../src/components/Button';
|
|
import {action} from '@storybook/addon-actions';
|
|
import {Wrapper} from './ui';
|
|
import {withA11y} from '@storybook/addon-a11y';
|
|
|
|
|
|
export default {
|
|
title: 'Button',
|
|
component: Button,
|
|
decorators: [withA11y],
|
|
};
|
|
|
|
export const Basic = () => (
|
|
<Wrapper>
|
|
<Button onClick={action('onClick')}>
|
|
Hello Button
|
|
</Button>
|
|
</Wrapper>
|
|
);
|
|
|