mtxuilib 0.0.706 → 0.0.707
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 @@
|
|
|
1
|
+
"use client";import{jsx as l,jsxs as t}from"react/jsx-runtime";import{useCallback as s,useState as h}from"react";import{Dialog as u,DialogContent as C,DialogTitle as f}from"../dialog";import{FullScreenPanel as D}from"./FullScreenEditPanel";const d=i=>{const{title:n,open:a,onOpenChange:e,fullScreen:r,children:o}=i,[p,P]=h(a),g=s(c=>{e&&e(c)},[e]);return r?l(D,{children:o}):l(u,{open:p,onOpenChange:g,children:t(C,{children:[n&&t(f,{children:[" ",n]}),o]})})};export{d as MtPopupPanel};
|