The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/client/components/BurgerMenu/BurgerMenuButton.stories.tsx

18 lines
639 B

import { action } from '@storybook/addon-actions';
import { Story } from '@storybook/react';
import React from 'react';
import { centeredDecorator } from '../../../.storybook/decorators';
import BurgerMenuButton from './BurgerMenuButton';
export default {
title: 'components/burger/BurgerMenuButton',
component: BurgerMenuButton,
decorators: [centeredDecorator],
};
export const Basic: Story = () => <BurgerMenuButton onClick={action('click')} />;
export const Open: Story = () => <BurgerMenuButton open onClick={action('click')} />;
export const WithBadge: Story = () => <BurgerMenuButton badge={99} onClick={action('click')} />;