Spaces:
Running
on
Zero
Running
on
Zero
File size: 411 Bytes
01e655b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
import { h } from "preact";
import * as React from "preact/hooks";
import htm from "htm";
import { bindReact } from "@quik-fe/stand";
import * as goober from "goober";
goober.setup(h);
export const html = htm.bind(h);
export const create = bindReact(React);
/**
* @type {Record<string, Function>}
*/
export const styled = new Proxy(
{},
{
get: (target, key) => goober.styled.call({}, key),
}
);
|