1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-23 02:10:12 +01:00
metamask-extension/ui/components/institutional/jwt-url-form/jwt-url-form.stories.js

25 lines
516 B
JavaScript
Raw Normal View History

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