mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
30 lines
516 B
JavaScript
30 lines
516 B
JavaScript
|
import React from 'react';
|
||
|
import Player from './player';
|
||
|
|
||
|
export default {
|
||
|
title: 'Components/App/Player',
|
||
|
component: Player,
|
||
|
argTypes: {
|
||
|
type: {
|
||
|
control: 'text',
|
||
|
},
|
||
|
cbor: {
|
||
|
control: 'text',
|
||
|
},
|
||
|
cancelQRHardwareSignRequest: {
|
||
|
action: 'cancelQRHardwareSignRequest',
|
||
|
},
|
||
|
toRead: {
|
||
|
action: 'toRead',
|
||
|
},
|
||
|
},
|
||
|
args: {
|
||
|
type: 'abc',
|
||
|
cbor: 'abc',
|
||
|
},
|
||
|
};
|
||
|
|
||
|
export const DefaultStory = (args) => <Player {...args} />;
|
||
|
|
||
|
DefaultStory.storyName = 'Default';
|