mtxuilib 0.0.401 → 0.0.402

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.
@@ -1,2 +1,3 @@
1
1
  /// <reference types="react" />
2
2
  export declare const CurdEditButton: () => import("react").JSX.Element;
3
+ export declare const CurdCreateButton: () => import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ "use client";import{Fragment as i,jsx as r}from"react/jsx-runtime";import{MtLink as e}from"../common/mtlink";import{useCurdView as n}from"./CurdViewView";const d=()=>{const t=n();return r(i,{children:r(e,{variant:"ghost",href:t.editLink(t.activateId),children:"edit"})})},c=()=>{const t=n();return r(i,{children:r(e,{variant:"ghost",href:t.createLink,children:"new"})})};export{c as CurdCreateButton,d as CurdEditButton};