1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/components/app/snaps/snap-remove-warning/snap-remove-warning.stories.js
Dhruv a10fb75f35
replacing deprecated components and consts (#19563)
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
2023-07-25 13:22:26 -07:00

30 lines
565 B
JavaScript

import React from 'react';
import SnapRemoveWarning from './snap-remove-warning';
export default {
title: 'Components/App/Snaps/SnapRemoveWarning',
component: SnapRemoveWarning,
argTypes: {
onCancel: {
action: 'onCancel',
},
onSubmit: {
action: 'onSubmit',
},
snapName: {
control: 'text',
},
isOpen: {
control: 'boolean',
},
},
args: {
snapName: 'Snap Name',
isOpen: true,
},
};
export const DefaultStory = (args) => <SnapRemoveWarning {...args} />;
DefaultStory.storyName = 'Default';