/v1.0

ExportManyModal

A modal shell intended for bulk export of records. The internal content is currently a placeholder. It wraps the base Modal component and forwards all standard modal appearance props.

Props

| Prop | Type | Required | Default | Description | |------|------|----------|---------|-------------| | isOpen | boolean | Yes | — | Controls whether the modal is visible. | | onClose | () => void | Yes | — | Called when the modal closes. | | title | string | Yes | — | Title for the modal (currently not rendered inside the content area). | | subtitle | string | No | — | Subtitle for the modal. | | backdropStyle | React.CSSProperties | No | — | Inline styles for the modal backdrop. | | windowStyle | React.CSSProperties | No | — | Inline styles merged into the modal window. | | closeButtonStyle | React.CSSProperties | No | — | Styles for the close button. | | closeIcon | string | No | — | Icon name for the close button. | | closeIconPaths | any[] | No | — | Custom icon paths for the close button. | | closeIconSize | number | No | — | Icon size for the close button. | | zIndex | number | No | 99999 | CSS z-index of the modal overlay. | | id | string | No | — | HTML id for the modal element. | | fullScreen | boolean | No | — | When true, the modal occupies the full viewport. |

Usage

Basic

import React from 'react';
import ExportManyModal from '@/components/modals/ExportManyModal';

export default function Example() {
  const [open, setOpen] = React.useState(false);

  return (
    <>
      <button onClick={() => setOpen(true)}>Export Records</button>
      <ExportManyModal
        isOpen={open}
        onClose={() => setOpen(false)}
        title="Export Products"
      />
    </>
  );
}