import React from 'react';
import { ModalProps } from './Modal.types';
/**
* Modal component for displaying content in an overlay.
*
* This component provides a customizable modal dialog with optional primary and secondary action buttons.
* It supports keyboard navigation and can be controlled via props.
*
* @component
* @example
* ```jsx
* setIsModalOpen(false)}
* title="Example Modal"
* okBtnText="Save"
* onOk={() => handleSave()}
* cancelBtnText="Cancel"
* >
*