Skip to content

Commit c7d5717

Browse files
committed
desktop-list
1 parent 3f3a75f commit c7d5717

File tree

9 files changed

+70309
-26
lines changed

9 files changed

+70309
-26
lines changed

config/preview.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ module.exports = {
55
hidden: true,
66
},
77
},
8+
controls: { hideNoControlsWarning: true },
89
},
910
};

package-lock.json

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"private": true,
1515
"dependencies": {
1616
"@emotion/css": "^11.7.1",
17+
"@mui/icons-material": "^5.2.5",
1718
"@mui/material": "^5.2.8",
1819
"@mui/styles": "^5.2.3",
1920
"expose-loader": "^3.1.0",

src/components/ComponentWrapper.tsx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import React from 'react';
2+
3+
import { ModalProvider } from 'react-declarative';
4+
5+
interface IComponentWrapperrProps {
6+
children: React.ReactChild;
7+
}
8+
9+
export const ComponentWrapper = ({
10+
children,
11+
}: IComponentWrapperrProps) => (
12+
<ModalProvider>
13+
{children}
14+
</ModalProvider>
15+
);

src/globals.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
declare module "*.md";
1+
declare module "*.json";

0 commit comments

Comments
 (0)