Skip to content

Commit 16fdfd1

Browse files
committed
add sx support back to ProgressBar.tsx
1 parent 8efccdd commit 16fdfd1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/react/src/ProgressBar/ProgressBar.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import React, {forwardRef} from 'react'
2+
import type {SxProp} from '../sx'
23
import {clsx} from 'clsx'
34
import classes from './ProgressBar.module.css'
45
import {BoxWithFallback} from '../internal/components/BoxWithFallback'
@@ -13,12 +14,13 @@ type StyledProgressContainerProps = {
1314
inline?: boolean
1415
barSize?: 'small' | 'default' | 'large'
1516
animated?: boolean
16-
}
17+
} & SxProp
1718

1819
export type ProgressBarItems = React.HTMLAttributes<HTMLSpanElement> & {
1920
'aria-label'?: string
2021
className?: string
21-
} & ProgressProp
22+
} & ProgressProp &
23+
SxProp
2224

2325
export const Item = forwardRef<HTMLSpanElement, ProgressBarItems>(
2426
(

0 commit comments

Comments
 (0)