diff --git a/packages/manager/.changeset/pr-11076-tech-stories-1728498604542.md b/packages/manager/.changeset/pr-11076-tech-stories-1728498604542.md new file mode 100644 index 00000000000..b888dcbe07c --- /dev/null +++ b/packages/manager/.changeset/pr-11076-tech-stories-1728498604542.md @@ -0,0 +1,5 @@ +--- +"@linode/manager": Tech Stories +--- + +Fix TypeScript Performance of `BarPercent.tsx` ([#11076](https://github.com/linode/manager/pull/11076)) diff --git a/packages/manager/src/components/BarPercent/BarPercent.tsx b/packages/manager/src/components/BarPercent/BarPercent.tsx index 7d6974e0703..9aeb1e92d86 100644 --- a/packages/manager/src/components/BarPercent/BarPercent.tsx +++ b/packages/manager/src/components/BarPercent/BarPercent.tsx @@ -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; @@ -16,7 +17,7 @@ export interface BarPercentProps { narrow?: boolean; /** Applies a `border-radius` to the bar. */ rounded?: boolean; - sx?: SxProps; + sx?: SxProps; /** The value of the progress indicator for the determinate and buffer variants. */ value: number; /** The value for the buffer variant. */