mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-01 21:57:06 +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';
|