1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 01:39:44 +01:00
metamask-extension/ui/components/app/snaps/snap-settings-card/snap-settings-card.stories.js
Dhruv e31c933869
updating SnapSettingsCard (#20296)
Co-authored-by: George Marshall <george.marshall@consensys.net>
2023-08-14 13:25:41 -07:00

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';