mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 01:39:44 +01:00
e31c933869
Co-authored-by: George Marshall <george.marshall@consensys.net>
31 lines
593 B
JavaScript
31 lines
593 B
JavaScript
import React from 'react';
|
|
import SnapSettingsCard from '.';
|
|
|
|
export default {
|
|
title: 'Components/App/Snaps/SnapSettingsCard',
|
|
component: SnapSettingsCard,
|
|
argTypes: {
|
|
name: {
|
|
control: 'text',
|
|
},
|
|
packageName: {
|
|
control: 'text',
|
|
},
|
|
onClick: {
|
|
action: 'onClick',
|
|
},
|
|
snapId: {
|
|
control: 'text',
|
|
},
|
|
},
|
|
args: {
|
|
name: 'Snap Name',
|
|
packageName: 'Snap Package Name',
|
|
snapId: 'npm:@metamask/test-snap-bip44',
|
|
},
|
|
};
|
|
|
|
export const DefaultStory = (args) => <SnapSettingsCard {...args} />;
|
|
|
|
DefaultStory.storyName = 'Default';
|