Files
zeekay a902c1c1c7 feat: add wallet package, docs, LLM.md, and update submodule refs
- Add packages/wallet with Solana/EVM providers
- Add comprehensive DAO governance documentation
- Fix gitignore to cover nested node_modules
- Update submodule refs
2026-02-20 22:15:37 -08:00

46 lines
1.5 KiB
TypeScript

import { ModalProps } from "@mui/material";
import { FC, ReactElement } from "react";
export interface PARSModalProps extends ModalProps {
/** Header Text for Modal */
headerText?: string;
/** Define the minimum height of the modal. Ex: 600px or 100% */
minHeight?: string;
/** Define the maximum width of the modal. Ex: 600px or 100% */
maxWidth?: string;
/** Specify the position of the close icon. Top left or right */
closePosition?: "left" | "right";
/** Custom content for Top Right Position. Prioritized over closePosition */
topRight?: ReactElement;
/** Custom content for Top Left Position. Prioritized over closePosition */
topLeft?: ReactElement;
/** Used to specify a custom header instead of using the default headerText prop. */
headerContent?: ReactElement;
/** Specify additional modal classes. */
className?: string;
}
/**
* Primary Modal Component for UI. This component inherits the Paper component and displays it in a modal.
*
* ### Controlling Modal State.
* ```typescript
* const [open, setOpen] = useState(true);
* const handleClose = () => {
* setOpen(false);
* };
* const handleOpen = () => {
* setOpen(true);
* };
*
* ```
* ```jsx
* <Modal
* onClose={handleClose}
* open={open}
* >
* This can be any type of content
* </Modal>
```
*/
declare const Modal: FC<PARSModalProps>;
export default Modal;
//# sourceMappingURL=Modal.d.ts.map