= ({}) => {
const store = useContext(DesignContext);
const { currentResponsive, setCurrentResponsive } = useStore(store);
const device = useSelect((select) => {
// @ts-ignore
return select('biteStore/editor').getDevice();
}, []);
useEffect(() => {
setCurrentResponsive(device);
}, [device]);
return (
{
setCurrentResponsive(value);
}}
size="default"
className="w-[180px]"
options={ResponsiveOptions}
>
{
setCurrentResponsive(value);
}}
/>
);
};
export default ResponsivePanel;