import React from 'react';
import usePopover from '@/_hooks/use-popover';
import { SketchPicker } from 'react-color';
import { LeftSidebarItem } from './SidebarItem';
export const LeftSidebarGlobalSettings = ({ globalSettings, globalSettingsChanged }) => {
const [open, trigger, content] = usePopover(false);
const { hideHeader, canvasMaxWidth, canvasBackgroundColor } = globalSettings;
const [showPicker, setShowPicker] = React.useState(false);
const coverStyles = {
position: 'fixed',
top: '0px',
right: '0px',
bottom: '0px',
left: '0px',
};
return (
<>