We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc46a52 commit dcd2e75Copy full SHA for dcd2e75
1 file changed
packages/react-core/src/components/Label/Label.tsx
@@ -338,7 +338,7 @@ export const Label: React.FunctionComponent<LabelProps> = ({
338
);
339
}
340
341
- const LabelComponent = (isOverflowLabel ? 'button' : 'span') as any;
+ const LabelComponent = (isOverflowLabel || isAddLabel ? 'button' : 'span') as any;
342
343
return (
344
<LabelComponent
0 commit comments