1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-01 21:57:06 +01:00
metamask-extension/ui/components/app/nft-default-image/nft-default-image.stories.js

32 lines
523 B
JavaScript
Raw Normal View History

import React from 'react';
import NftDefaultImage from '.';
export default {
title: 'Components/App/NftDefaultImage',
argTypes: {
name: {
control: 'text',
},
tokenId: {
control: 'text',
},
clickable: {
control: 'boolean',
},
},
args: {
name: null,
tokenId: '12345',
clickable: true,
},
};
export const DefaultStory = (args) => (
<div style={{ width: 200, height: 200 }}>
<NftDefaultImage {...args} />
</div>
);
DefaultStory.storyName = 'Default';