Components
Loading preview...
here is toggle nav component
npx shadcn@latest add https://21st.dev/r/airbnb/toggle-nav// src/DemoOne.tsx
import React from 'react';
import { Component as ResponsiveLayoutComponent } from '@/components/ui/toggle-nav';
import { cn } from "@/lib/utils";
const DemoOne = () => {
return (
<div className={cn("flex w-full min-h-screen justify-center items-center p-0 bg-white")}>
<div className="shadow-none rounded-none overflow-hidden border-box">
<ResponsiveLayoutComponent
width={800}
height={600}
initialShowSidebar={true}
/>
</div>
</div>
);
};
export { DemoOne };