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/setupWizard/Pager.stories.js

25 lines
643 B

import { action } from '@storybook/addon-actions';
import { boolean } from '@storybook/addon-knobs';
import React from 'react';
import { Pager } from './Pager';
export default {
title: 'setupWizard/Pager',
component: Pager,
};
export const _default = () =>
<Pager
disabled={boolean('disabled')}
isContinueEnabled={boolean('isContinueEnabled')}
/>;
export const withBackButton = () =>
<Pager onBackClick={action('backClick')} />;
export const disabled = () =>
<Pager disabled onBackClick={action('backClick')} />;
export const withContinueDisabled = () =>
<Pager isContinueEnabled={false} onBackClick={action('backClick')} />;