keycloak-scim/stories/1-Button.stories.js
Erik Jan de Wit 14860ae628 initial version
change favicon based on env props
2020-08-05 17:00:38 +02:00

18 lines
438 B
JavaScript

import React from 'react';
import { action } from '@storybook/addon-actions';
import { Button } from '@storybook/react/demo';
export default {
title: 'Button',
component: Button,
};
export const Text = () => <Button onClick={action('clicked')}>Hello Button</Button>;
export const Emoji = () => (
<Button onClick={action('clicked')}>
<span role="img" aria-label="so cool">
😀 😎 👍 💯
</span>
</Button>
);