1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/components/institutional/jwt-dropdown/jwt-dropdown.stories.js
António Regadas 0b83b13b4a
MMI adds the Jwt dropdown component (#18117)
* MMI adds the Jwt dropdown

* MMI prettier

* review fixes

* MMI added stories file
2023-03-16 11:03:54 +00:00

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