mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-02 06:07:06 +01:00
674bb131b2
* replacing deprecated constants * updating Box in player.js * created story for Player.js
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';
|