mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-03 06:34:27 +01:00
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';
|