novo-menu-wedding-site 0.0.1 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- package/custom.d.ts +2 -0
- package/package.json +1 -1
- package/src/app.tsx +4 -0
package/custom.d.ts
CHANGED
package/package.json
CHANGED
package/src/app.tsx
CHANGED
@@ -3,6 +3,8 @@ import logo from "./assets/logo.svg";
|
|
3
3
|
import marca from "./assets/marca.svg";
|
4
4
|
import share from "./assets/icons/share.svg";
|
5
5
|
|
6
|
+
import register from 'preact-custom-element';
|
7
|
+
|
6
8
|
export function App() {
|
7
9
|
return (
|
8
10
|
<div className="flex justify-between items-center p-4 shadow-lg md:flex-col md:h-screen md:w-20">
|
@@ -15,3 +17,5 @@ export function App() {
|
|
15
17
|
</div>
|
16
18
|
);
|
17
19
|
}
|
20
|
+
|
21
|
+
register(App, 'menu-section', [], { shadow: true });
|