Added side Pannel
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import { usePannelStore } from "_store/pannelStore";
|
||||
|
||||
export const OpenButton = () => {
|
||||
const { setOpen } = usePannelStore();
|
||||
return (
|
||||
<button
|
||||
onClick={() => {
|
||||
setOpen(true);
|
||||
}}
|
||||
className="btn absolute inset-y-0 right-0 z-9999"
|
||||
>
|
||||
Open
|
||||
</button>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user