mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
a10fb75f35
Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
30 lines
565 B
JavaScript
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';
|