mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-29 15:50:28 +01:00
4a8a4aa01b
* creating story for multilayer fee message * add story for nftoptions * lint fixed * suggestion * Updating function props to actions in storybook --------- Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
20 lines
384 B
JavaScript
20 lines
384 B
JavaScript
import React from 'react';
|
|
import NftOptions from './nft-options';
|
|
|
|
export default {
|
|
title: 'Components/App/NftOptions',
|
|
component: NftOptions,
|
|
argTypes: {
|
|
onRemove: {
|
|
action: 'onRemove',
|
|
},
|
|
onViewOnOpensea: {
|
|
action: 'onViewOnOpensea',
|
|
},
|
|
},
|
|
};
|
|
|
|
export const DefaultStory = (args) => <NftOptions {...args} />;
|
|
|
|
DefaultStory.storyName = 'Default';
|