@acvl/frontend-components 0.0.50 → 0.0.51

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,17 @@
1
+ import { type ReactNode } from "react";
2
+ export interface ActionsMenuProps {
3
+ delete?: {
4
+ mutation: any;
5
+ disableNavBack?: boolean;
6
+ };
7
+ historial?: {
8
+ endpoint?: string;
9
+ };
10
+ extraButtons?: {
11
+ title: string;
12
+ icon: ReactNode;
13
+ onClick: () => void;
14
+ }[];
15
+ }
16
+ declare const ActionsMenu: (props: ActionsMenuProps) => import("react/jsx-runtime").JSX.Element;
17
+ export default ActionsMenu;
@@ -30,7 +30,10 @@ export interface DetailPageV2Props {
30
30
  button?: ReactNode;
31
31
  extraButtons?: {
32
32
  pageType: PageType | "all";
33
- render: (id: number) => ReactNode;
33
+ title: string;
34
+ icon: ReactNode;
35
+ onClick: (data: any) => void;
36
+ display?: (data: any) => boolean;
34
37
  }[];
35
38
  badge?: string;
36
39
  };