nectiasw 0.0.56 → 0.0.57

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.
@@ -22,6 +22,7 @@ export type DragareaProps = {
22
22
  statusColors?: Partial<Record<DropStatus, string>>;
23
23
  statusBorder?: Partial<Record<DropStatus, string>>;
24
24
  renderContent?: JSX.Element;
25
+ renderBelowFilename?: JSX.Element;
25
26
  statusIcons?: Partial<Record<DropStatus, React.ComponentType<any>>>;
26
27
  };
27
28
  export declare enum DropStatus {
package/dist/index.es.js CHANGED
@@ -61103,6 +61103,7 @@ const Dragarea = React__default.memo(
61103
61103
  renderContent,
61104
61104
  onStatusChange,
61105
61105
  acceptedFileType,
61106
+ renderBelowFilename,
61106
61107
  statusMessages: propStatusMessages,
61107
61108
  statusColors: propStatusColors,
61108
61109
  statusBorder: propStatusBorder,
@@ -61173,11 +61174,12 @@ const Dragarea = React__default.memo(
61173
61174
  /* @__PURE__ */ jsxRuntimeExports.jsx(DocumentTextIcon, {}),
61174
61175
  " ",
61175
61176
  /* @__PURE__ */ jsxRuntimeExports.jsxs("p", { children: [
61176
- "Archivo cargado:",
61177
+ "Archivo cargado: ",
61177
61178
  filename,
61178
61179
  " "
61179
61180
  ] })
61180
61181
  ] }),
61182
+ renderBelowFilename && renderBelowFilename,
61181
61183
  /* @__PURE__ */ jsxRuntimeExports.jsxs(Message, { children: [
61182
61184
  text.filter(Boolean).map((msg) => /* @__PURE__ */ jsxRuntimeExports.jsx("p", { children: msg }, msg)),
61183
61185
  renderContent && renderContent