1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-02 06:07:06 +01:00
metamask-extension/ui/components/app/qr-hardware-popover/qr-hardware-sign-request/player.stories.js
Dhruv 674bb131b2
Part of #18714: Replacing deprecated constants (#20003)
* replacing deprecated constants

* updating Box in player.js

* created story for Player.js
2023-07-19 15:08:06 +05:30

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