UNPKG

synapse-react-client

Version:

[![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synapse-react-client) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettie

20 lines 849 B
import { ButtonProps, SxProps, TooltipProps } from '@mui/material'; import { PropsWithChildren, ReactNode } from 'react'; export type StyledPopoverProps = PropsWithChildren<{ popoverContent: React.ReactNode; sx?: TooltipProps['sx']; placement?: TooltipProps['placement']; showCloseButton?: boolean; actionButton?: { content: ReactNode; color?: ButtonProps['color']; variant?: ButtonProps['variant']; onClick: () => void; closePopoverOnClick?: boolean; }; maxWidth?: string; minWidth?: string; containerSx?: SxProps; }>; export declare function StyledPopover({ children, popoverContent, placement, showCloseButton, actionButton, sx, maxWidth, minWidth, containerSx, }: StyledPopoverProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=StyledPopover.d.ts.map