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

19 lines
563 B

import { action } from '@storybook/addon-actions';
import React from 'react';
import { Pager } from './Pager';
export default {
title: 'components/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')} />
);