Skip to content

Commit

Permalink
Fixing build error.
Browse files Browse the repository at this point in the history
  • Loading branch information
khmakoto committed Jan 6, 2022
1 parent 55fdd73 commit baabfe6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/react-badge/src/components/Badge/useBadgeStyles.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import * as React from 'react';
import { shorthands, mergeClasses, makeStyles } from '@fluentui/react-make-styles';
import { tokens } from '@fluentui/react-theme';
import type { BadgeState } from './Badge.types';
Expand All @@ -13,7 +14,7 @@ const useStyles = makeStyles({
backgroundColor: tokens.colorBrandBackground,
...shorthands.borderColor(tokens.colorBrandBackground),
color: tokens.colorNeutralForegroundOnBrand,
fontWeight: tokens.fontWeightSemibold,
fontWeight: tokens.fontWeightSemibold as React.CSSProperties['fontWeight'],
...shorthands.borderWidth(tokens.strokeWidthThin),
...shorthands.borderStyle('solid'),
fontFamily: tokens.fontFamilyBase,
Expand Down

0 comments on commit baabfe6

Please sign in to comment.