mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-25 11:28:51 +01:00
0b83b13b4a
* MMI adds the Jwt dropdown * MMI prettier * review fixes * MMI added stories file
20 lines
435 B
JavaScript
20 lines
435 B
JavaScript
import React from 'react';
|
|
import { action } from '@storybook/addon-actions';
|
|
import JwtDropdown from '.';
|
|
|
|
export default {
|
|
title: 'Components/Institutional/JwtDropdown',
|
|
component: JwtDropdown,
|
|
args: {
|
|
jwtList: ['jwt1', 'jwt2'],
|
|
currentJwt: 'jwt1',
|
|
onChange: () => {
|
|
action('onChange');
|
|
},
|
|
},
|
|
};
|
|
|
|
export const DefaultStory = (args) => <JwtDropdown {...args} />;
|
|
|
|
DefaultStory.storyName = 'JwtDropdown';
|