1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 20:39:08 +01:00
metamask-extension/ui/components/app/connected-accounts-permissions/connected-account-permissions.stories.js
Dhruv 1c7c89abcb
Replacing deprecated constants & creating stories (#19686)
* Replacing deprecated constants & creating stories

* updating snapshot
2023-06-23 14:38:40 -07:00

26 lines
549 B
JavaScript

import React from 'react';
import ConnectedAccountsPermissions from './connected-accounts-permissions';
export default {
title: 'Components/App/ConnectedAccountsPermissions',
component: ConnectedAccountsPermissions,
argTypes: {
permission: {
control: 'array',
},
},
args: {
permissions: [
{ key: 'permission1' },
{ key: 'permission2' },
{ key: 'permission3' },
],
},
};
export const DefaultStory = (args) => (
<ConnectedAccountsPermissions {...args} />
);
DefaultStory.storyName = 'Default';