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

19 lines 903 B
import { SxProps, Theme } from '@mui/material'; import { ReactNode } from 'react'; export interface ResizeHandleProps { onMouseDown: (e: React.MouseEvent) => void; sx?: SxProps<Theme>; } export declare function ResizeHandle({ onMouseDown, sx }: ResizeHandleProps): import("react/jsx-runtime").JSX.Element; export interface ResizableContainerProps { children: ReactNode; width: number; height: number; onResizeStart: (e: React.MouseEvent) => void; showResizeHandle?: boolean; resizeHandleSx?: SxProps<Theme>; sx?: SxProps<Theme>; } /** See DraggableDialog for an example on how to use useResizable with a ResizableContainer */ export declare function ResizableContainer({ children, width, height, onResizeStart, showResizeHandle, resizeHandleSx, sx, }: ResizableContainerProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=ResizableContainer.d.ts.map