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

24 lines
562 B

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