synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
20 lines • 849 B
TypeScript
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