1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-01 21:57:06 +01:00
metamask-extension/ui/components/app/connected-accounts-permissions/connected-account-permissions.stories.js

26 lines
549 B
JavaScript
Raw Normal View History

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