mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 02:10:12 +01:00
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';
|