mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 18:00:18 +01:00
033b776c0e
* MMI adds the Jwt dropdown * MMI prettier * review fixes * adds the component * adds tests and story file * lint & prettier fix * prettier fix * prettier and clean up * prettier and clean up
25 lines
516 B
JavaScript
25 lines
516 B
JavaScript
import React from 'react';
|
|
import JwtUrlForm from '.';
|
|
|
|
export default {
|
|
title: 'Components/Institutional/JwtUrlForm',
|
|
component: JwtUrlForm,
|
|
args: {
|
|
jwtList: ['jwt1', 'jwt2', 'jwt3'],
|
|
currentJwt: 'jwt1',
|
|
urlInputText: 'url',
|
|
apiUrl: 'https://apiurl.io/v1',
|
|
jwtInputText: 'some input text',
|
|
onJwtChange: () => {
|
|
/**/
|
|
},
|
|
onUrlChange: () => {
|
|
/**/
|
|
},
|
|
},
|
|
};
|
|
|
|
export const DefaultStory = (args) => <JwtUrlForm {...args} />;
|
|
|
|
DefaultStory.storyName = 'JwtUrlForm';
|