Skip to content

Commit

Permalink
use correct prop type
Browse files Browse the repository at this point in the history
  • Loading branch information
bnussman committed Oct 9, 2024
1 parent 25ee272 commit 52e490e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/manager/src/components/BarPercent/BarPercent.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import { styled } from '@mui/material/styles';
import { SxProps } from '@mui/system';
import * as React from 'react';

import { LinearProgress } from 'src/components/LinearProgress';
import { omittedProps } from 'src/utilities/omittedProps';

import type { SxProps, Theme } from '@mui/material/styles';

export interface BarPercentProps {
/** Additional css class to pass to the component */
className?: string;
Expand All @@ -16,7 +17,7 @@ export interface BarPercentProps {
narrow?: boolean;
/** Applies a `border-radius` to the bar. */
rounded?: boolean;
sx?: SxProps;
sx?: SxProps<Theme>;
/** The value of the progress indicator for the determinate and buffer variants. */
value: number;
/** The value for the buffer variant. */
Expand Down

0 comments on commit 52e490e

Please sign in to comment.