mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-30 16:18:07 +01:00
90b656bd66
* Changed back button to the one in design * PermissionConnect now uses Chip component * Added SiteOrigin widget * WIP * Added new permission list * Fix linting errors * Removed unused messages * Removed more unused messages * Make SiteOrigin bigger * Fix lint * Code Review fixes * Fix SiteOrigin overflowing * Add stories * Fix lint * Added useMemo to constant * Fix Chip's max-content overflowing SiteOrigin * Fix code review issues Co-authored-by: Olaf Tomalka <olaftomalka@Olafs-MacBook-Pro-2.local>
25 lines
450 B
JavaScript
25 lines
450 B
JavaScript
import React from 'react';
|
|
|
|
import PermissionsConnectList from '.';
|
|
|
|
export default {
|
|
title: 'Components/App/PermissionsConnectList',
|
|
id: __filename,
|
|
component: PermissionsConnectList,
|
|
argTypes: {
|
|
permissions: {
|
|
control: 'object',
|
|
},
|
|
},
|
|
};
|
|
|
|
export const DefaultStory = (args) => <PermissionsConnectList {...args} />;
|
|
|
|
DefaultStory.storyName = 'Default';
|
|
|
|
DefaultStory.args = {
|
|
permissions: {
|
|
eth_accounts: true,
|
|
},
|
|
};
|