1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-28 23:06:37 +01:00
metamask-extension/ui/components/app/nft-default-image/nft-default-image.stories.js
Nidhi Kumari 4c37448c97
Added IPFS toggle (#20172)
* 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
2023-08-01 23:51:51 +05:30

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