Hiyve Components - v1.0.0
    Preparing search index...

    Interface ZoomToolbarProps

    Zoom toolbar component props

    interface ZoomToolbarProps {
        colors?: Partial<WhiteboardColors>;
        icons?: Partial<WhiteboardIcons>;
        labels?: Partial<WhiteboardLabels>;
        onFitToViewport?: () => void;
        onResetZoom?: () => void;
        onZoomChange: (zoom: number) => void;
        styles?: Partial<WhiteboardStyles>;
        sx?: SxProps<Theme>;
        zoomLevel: number;
    }
    Index

    Properties

    colors?: Partial<WhiteboardColors>
    icons?: Partial<WhiteboardIcons>
    labels?: Partial<WhiteboardLabels>
    onFitToViewport?: () => void

    Callback to fit canvas to viewport

    onResetZoom?: () => void

    Callback to reset zoom and pan to default

    onZoomChange: (zoom: number) => void

    Callback when zoom changes

    styles?: Partial<WhiteboardStyles>
    sx?: SxProps<Theme>

    Additional MUI sx props

    zoomLevel: number

    Current zoom level (1 = 100%)