Skip to content

Commit

Permalink
Fix TypeScript error in ProgressBar: wrong element type.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrause committed Oct 12, 2024
1 parent b46a150 commit f65643d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/graphics/ProgressBar/ProgressBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import cl from './ProgressBar.module.scss';

export { cl as ProgressBarClassNames };

export type ProgressBarProps = React.PropsWithChildren<ComponentProps<'div'> & {
export type ProgressBarProps = React.PropsWithChildren<ComponentProps<'progress'> & {
/** Whether this component should be unstyled. */
unstyled?: undefined | boolean,

Expand Down

0 comments on commit f65643d

Please sign in to comment.