next-recomponents 2.0.68 → 2.0.69

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.
package/dist/index.d.mts CHANGED
@@ -210,8 +210,9 @@ type Props = {
210
210
  item: Item;
211
211
  width?: string;
212
212
  height?: string;
213
+ onDelete?: (item: Item) => void;
213
214
  };
214
- declare function DocumentViewer({ item, width, height, }: Props): react_jsx_runtime.JSX.Element;
215
+ declare function DocumentViewer({ item, width, height, onDelete, }: Props): react_jsx_runtime.JSX.Element;
215
216
 
216
217
  interface Table3Props<T extends Record<string, any>> extends DetailedHTMLProps<TableHTMLAttributes<HTMLTableElement>, HTMLTableElement> {
217
218
  data: T[];
package/dist/index.d.ts CHANGED
@@ -210,8 +210,9 @@ type Props = {
210
210
  item: Item;
211
211
  width?: string;
212
212
  height?: string;
213
+ onDelete?: (item: Item) => void;
213
214
  };
214
- declare function DocumentViewer({ item, width, height, }: Props): react_jsx_runtime.JSX.Element;
215
+ declare function DocumentViewer({ item, width, height, onDelete, }: Props): react_jsx_runtime.JSX.Element;
215
216
 
216
217
  interface Table3Props<T extends Record<string, any>> extends DetailedHTMLProps<TableHTMLAttributes<HTMLTableElement>, HTMLTableElement> {
217
218
  data: T[];