Skip to content

Commit

Permalink
refactor(Label): use style token for pf-m-disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
adamviktora committed Mar 27, 2024
1 parent ffbd89f commit 49b0623
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-core/src/components/Label/Label.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ export const Label: React.FunctionComponent<LabelProps> = ({
{...props}
className={css(
styles.label,
isClickableDisabled && 'pf-m-disabled',
isClickableDisabled && styles.modifiers.disabled,
colorStyles[color],
variant === 'outline' && styles.modifiers.outline,
isOverflowLabel && styles.modifiers.overflow,
Expand Down

0 comments on commit 49b0623

Please sign in to comment.