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

58 lines
939 B

import React from 'react';
import SideBar from './SideBar';
export default {
title: 'components/setupWizard/SideBar',
component: SideBar,
};
export const _default = () => (
<SideBar
logoSrc='https://open.rocket.chat/images/logo/logo.svg'
steps={[
{
step: 1,
title: 'Define the problem',
},
{
step: 2,
title: 'Generate alternative solutions',
},
{
step: 3,
title: 'Select an alternative',
},
{
step: 4,
title: 'Implement the solution',
},
]}
currentStep={[1, 2, 3, 4][0]}
/>
);
export const atSomeStep = () => (
<SideBar
logoSrc='https://open.rocket.chat/images/logo/logo.svg'
steps={[
{
step: 1,
title: 'Define the problem',
},
{
step: 2,
title: 'Generate alternative solutions',
},
{
step: 3,
title: 'Select an alternative',
},
{
step: 4,
title: 'Implement the solution',
},
]}
currentStep={2}
/>
);