1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/components/institutional/transaction-failed-modal/transaction-failed.stories.js
Albert Olivé 48a61610af
[MMI] Add transaction-failed functional component (#18623)
* Finished component

* Fixed test mock variable

* Using design system colors

* Using design system icons

* removed uneeded css
2023-04-21 15:53:02 +02:00

18 lines
376 B
JavaScript

import React from 'react';
import TransactionFailedModal from '.';
export default {
title: 'Components/Institutional/TransactionFailedModal',
argTypes: {},
args: {
errorMessage: 'test',
operationFailed: false,
},
};
export const DefaultStory = (args) => {
return <TransactionFailedModal {...args} />;
};
DefaultStory.storyName = 'TransactionFailedModal';