Fix wrong icons in floating button

This commit is contained in:
Eric NGUYEN 2022-09-29 09:53:56 +02:00
parent cb8ebb7ff4
commit fbc5d0ec27

View file

@ -127,14 +127,14 @@ export function UI(props: IUIProps): JSX.Element {
title='Export as JSON' title='Export as JSON'
onClick={props.saveEditorAsJSON} onClick={props.saveEditorAsJSON}
> >
<CameraIcon className="heroicon text-white" /> <ArrowUpOnSquareIcon className="heroicon text-white" />
</button> </button>
<button type="button" <button type="button"
className={'transition-all w-10 h-10 p-2 align-middle items-center justify-center rounded-full bg-blue-500 hover:bg-blue-800'} className={'transition-all w-10 h-10 p-2 align-middle items-center justify-center rounded-full bg-blue-500 hover:bg-blue-800'}
title='Export as SVG' title='Export as SVG'
onClick={props.saveEditorAsSVG} onClick={props.saveEditorAsSVG}
> >
<ArrowUpOnSquareIcon className="heroicon text-white" /> <CameraIcon className="heroicon text-white" />
</button> </button>
</FloatingButton> </FloatingButton>
</> </>