mtxuilib 0.0.490 → 0.0.492

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare function DemoReactUse(): import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ "use client";var l=(r,u,t)=>new Promise((c,o)=>{var f=e=>{try{s(t.next(e))}catch(a){o(a)}},p=e=>{try{s(t.throw(e))}catch(a){o(a)}},s=e=>e.done?c(e.value):Promise.resolve(e.value).then(f,p);s((t=t.apply(r,u)).next())});import{jsx as i}from"react/jsx-runtime";import{use as m,useMemo as y}from"react";let n=null;const d=()=>l(void 0,null,function*(){return n||(n=yield fetch("https://reqres.in/api/users/1?delay=1").then(r=>r.json()),n)});function g(){const r=y(()=>m(d()),[]);return i("div",{className:" max-h24 overflow-scroll bg-red-200 p-2",children:i("pre",{children:JSON.stringify(r,null,2)})})}export{g as DemoReactUse};
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ export declare const LzBigCodeByName: import("react").ComponentType<{}>;
3
+ export declare const DemoLzByName: () => import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ "use client";import{jsx as e,jsxs as t}from"react/jsx-runtime";import i from"next/dynamic";const d="../bigcode/BigCode",m=i(()=>import(d).then(o=>o.BigCode),{ssr:!0}),n=()=>t("div",{children:[e("h1",{children:"LzBigCodeByName"}),e(m,{})]});export{n as DemoLzByName,m as LzBigCodeByName};
@@ -0,0 +1 @@
1
+ "use client";import o from"next/dynamic";const i=o(()=>import("./demos/bigcode/BigCode").then(e=>e.BigCode),{ssr:!0});export{i as LzBigCode};