feat: add new UI components including RadioGroup, Resizable, Sidebar, Spinner, Table, Toast, and ToggleGroup
- Implemented RadioGroup and RadioGroupItem for radio button functionality. - Created ResizablePanelGroup, ResizablePanel, and ResizableHandle for resizable panels. - Developed Sidebar component with context for state management and various subcomponents (SidebarTrigger, SidebarMenu, etc.). - Added Spinner component for loading indicators. - Introduced Table component with TableHeader, TableBody, TableFooter, and related subcomponents for structured data display. - Built Toast component for notifications with customizable actions and icons. - Implemented ToggleGroup and ToggleGroupItem for toggle button functionality with context support.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { cn } from "@/lib/utils";
|
||||
import { cn } from "@/lib/utils"
|
||||
|
||||
function Skeleton({ className, ...props }: React.ComponentProps<"div">) {
|
||||
return (
|
||||
@@ -7,7 +7,7 @@ function Skeleton({ className, ...props }: React.ComponentProps<"div">) {
|
||||
className={cn("animate-pulse rounded-md bg-muted", className)}
|
||||
{...props}
|
||||
/>
|
||||
);
|
||||
)
|
||||
}
|
||||
|
||||
export { Skeleton };
|
||||
export { Skeleton }
|
||||
|
||||
Reference in New Issue
Block a user