1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-03 06:34:27 +01:00
metamask-extension/ui/components/institutional/jwt-dropdown/jwt-dropdown.stories.js

20 lines
435 B
JavaScript
Raw Normal View History

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';