mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 02:10:12 +01:00
1c7c89abcb
* Replacing deprecated constants & creating stories * updating snapshot
26 lines
549 B
JavaScript
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';
|