diff --git a/ui/desktop/src/components/ui/Pill.tsx b/ui/desktop/src/components/ui/Pill.tsx index b31c549e2553..798a70d59cf8 100644 --- a/ui/desktop/src/components/ui/Pill.tsx +++ b/ui/desktop/src/components/ui/Pill.tsx @@ -1,7 +1,7 @@ import React from 'react'; import { cn } from '../../utils'; -interface PillProps extends React.HTMLAttributes { +interface PillProps extends React.ComponentPropsWithoutRef<'span'> { variant?: 'default' | 'success' | 'warning' | 'error' | 'info'; size?: 'sm' | 'md' | 'lg'; children: React.ReactNode;