import { ComponentProps, forwardRef } from 'react' import { Button, Card, CardDescription, CardHeader, CardTitle } from 'ui' interface ActionPanelProps extends Omit, 'onClick' | 'type'> { title: string description: string buttonLabel: ComponentProps['children'] onClick: ComponentProps['onClick'] loading: ComponentProps['loading'] icon?: ComponentProps['icon'] type?: ComponentProps['type'] } export const ActionPanel = forwardRef( ({ title, description, buttonLabel, onClick, loading, icon, type, ...props }, ref) => { return (
{title} {description}
) } ) ActionPanel.displayName = 'ActionPanel'