import * as DialogPrimitive from "@radix-ui/react-dialog"; import * as React from "react"; import { cn } from "./lib/utils"; interface ActionBarProps extends Omit< React.ComponentPropsWithoutRef, "open" | "onOpenChange" > { open?: boolean; onOpenChange?: (open: boolean) => void; children: React.ReactNode; } const ActionBar = React.forwardRef< React.ComponentRef, ActionBarProps >(({ open, onOpenChange, children, className, ...props }, ref) => { return ( {children} ); }); ActionBar.displayName = "ActionBar"; const ActionBarTitle = React.forwardRef< HTMLHeadingElement, React.HTMLAttributes >(({ className, children, ...props }, ref) => ( {children} )); ActionBarTitle.displayName = "ActionBarTitle"; const ActionBarGroup = React.forwardRef< HTMLDivElement, React.HTMLAttributes >(({ className, ...props }, ref) => (
)); ActionBarGroup.displayName = "ActionBarGroup"; export { ActionBar, ActionBarTitle, ActionBarGroup };