We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I bring back the toolbar already available in react-svg-pan-zoom library?
Cause: svg-viewer.jsx ( customToolbar={() => <></>} ) Wouldn't it be better to make the custom Toolbar optional?
customToolbar={() => <></>}
return ( <ReactSVGPanZoom detectAutoPan={false} ref={Viewer} scaleFactor={scaleFactor} scaleFactorMax={scaleFactorMax} scaleFactorMin={scaleFactorMin} width={Math.min(width, bracketWidth)} height={Math.min(height, bracketHeight)} tool={tool} onChangeTool={setTool} value={value} onChangeValue={setValue} onZoom={lockToBoundaries} onPan={lockToBoundaries} miniatureProps={{ position: 'right' }} customToolbar={() => <></>} {...rest} > {children} </ReactSVGPanZoom> );
The text was updated successfully, but these errors were encountered:
Make customToolbar visible by default
388a9ed
closes g-loot#20 and g-loot#22
No branches or pull requests
How can I bring back the toolbar already available in react-svg-pan-zoom library?
Cause: svg-viewer.jsx (
customToolbar={() => <></>}
)Wouldn't it be better to make the custom Toolbar optional?
The text was updated successfully, but these errors were encountered: