mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-28 23:06:37 +01:00
4c37448c97
* added ipfs toggle * added placeholder valur * fixed snapshot * updated tests * updated spec file * hide input if toggle is disabled * updated e2e tests for nft image * fixed view-ercc-1155 spec * updated e2e tests for nfts * added ipfs toggle modal * updated UI for ipfs * updated tests * updated classname * added placeholder image * lint fix * removed prop ipfsEnabled and used with selector * fixed ui for ipfs toggle * updated test * updated test to handle cases * nit fix * ensure default image height match nft image
21 lines
362 B
JavaScript
21 lines
362 B
JavaScript
import React from 'react';
|
|
import NftDefaultImage from '.';
|
|
|
|
export default {
|
|
title: 'Components/App/NftDefaultImage',
|
|
|
|
argTypes: {
|
|
clickable: {
|
|
control: 'boolean',
|
|
},
|
|
},
|
|
};
|
|
|
|
export const DefaultStory = (args) => (
|
|
<div style={{ width: 200, height: 200 }}>
|
|
<NftDefaultImage {...args} />
|
|
</div>
|
|
);
|
|
|
|
DefaultStory.storyName = 'Default';
|