mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 01:47:00 +01:00
Add connected-sites component to Storybook (#11415)
* connectd-sites * fix image path for storybook * lintfixd, namechange
This commit is contained in:
parent
2996163770
commit
7b4aac7755
BIN
.storybook/images/UNI.png
Normal file
BIN
.storybook/images/UNI.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 117 KiB |
@ -562,6 +562,12 @@ const state = {
|
||||
"icon": "https://metamask.github.io/test-dapp/metamask-fox.svg",
|
||||
"lastUpdated": 1620723443380,
|
||||
"host": "metamask.github.io"
|
||||
},
|
||||
"https://app.uniswap.org": {
|
||||
"name": "Uniswap",
|
||||
"icon": "./UNI.png",
|
||||
"lastUpdated": 1620723443380,
|
||||
"host": "app.uniswap.org"
|
||||
}
|
||||
},
|
||||
"threeBoxSyncingAllowed": false,
|
||||
|
19
ui/pages/connected-sites/connected-sites.stories.js
Normal file
19
ui/pages/connected-sites/connected-sites.stories.js
Normal file
@ -0,0 +1,19 @@
|
||||
import React from 'react';
|
||||
|
||||
import ConnectedSites from '.';
|
||||
|
||||
export default {
|
||||
title: 'Connected Sites',
|
||||
};
|
||||
|
||||
const PageSet = ({ children }) => {
|
||||
return children;
|
||||
};
|
||||
|
||||
export const ConnectedSitesComponent = () => {
|
||||
return (
|
||||
<PageSet>
|
||||
<ConnectedSites />
|
||||
</PageSet>
|
||||
);
|
||||
};
|
Loading…
Reference in New Issue
Block a user