feat(PBI-49): add debugProps to backlog/, sprint/, solo/ components
This commit is contained in:
parent
f555cb547b
commit
6c004ffc74
22 changed files with 50 additions and 18 deletions
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
import { Button } from '@/components/ui/button'
|
||||
import { DemoTooltip } from '@/components/shared/demo-tooltip'
|
||||
import { debugProps } from '@/lib/debug'
|
||||
|
||||
interface EmptyPanelProps {
|
||||
title?: string
|
||||
|
|
@ -15,7 +16,7 @@ interface EmptyPanelProps {
|
|||
|
||||
export function EmptyPanel({ title, message, action }: EmptyPanelProps) {
|
||||
return (
|
||||
<div className="p-8 text-center text-muted-foreground space-y-3">
|
||||
<div className="p-8 text-center text-muted-foreground space-y-3" {...debugProps('empty-panel', 'EmptyPanel', 'components/backlog/empty-panel.tsx')}>
|
||||
{title && <p className="text-sm font-medium text-foreground">{title}</p>}
|
||||
<p className="text-sm">{message}</p>
|
||||
{action && (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue