diff --git a/packages/blade/src/components/Chip/types.ts b/packages/blade/src/components/Chip/types.ts index a7f58cfd43a..9d5e30d047d 100644 --- a/packages/blade/src/components/Chip/types.ts +++ b/packages/blade/src/components/Chip/types.ts @@ -4,7 +4,7 @@ import type { IconComponent } from '~components/Icons'; import type { DataAnalyticsAttribute, StringChildrenType, TestID } from '~utils/types'; import type { DotNotationToken } from '~utils/lodashButBetter/get'; import type { MotionMetaProp } from '~components/BaseMotion'; -import type { BaseBoxProps } from '~components/Box/BaseBox/types/propsTypes'; +import type { BoxProps } from '~components/Box/BaseBox/types/propsTypes'; type ChipCommonProps = { /** @@ -33,15 +33,15 @@ type ChipCommonProps = { /** * width prop sets the width of the Chip */ - width?: BaseBoxProps['width']; + width?: BoxProps['width']; /** * maxWidth prop sets the maxWidth of the Chip */ - maxWidth?: BaseBoxProps['maxWidth']; + maxWidth?: BoxProps['maxWidth']; /** * min prop sets the minWidth of the Chip */ - minWidth?: BaseBoxProps['minWidth']; + minWidth?: BoxProps['minWidth']; } & TestID & DataAnalyticsAttribute & StyledPropsBlade & @@ -239,9 +239,9 @@ type AnimatedChipProps = { isDesktop?: boolean; theme: Theme; children: React.ReactNode; - width?: BaseBoxProps['width']; - maxWidth?: BaseBoxProps['maxWidth']; - minWidth?: BaseBoxProps['minWidth']; + width?: BoxProps['width']; + maxWidth?: BoxProps['maxWidth']; + minWidth?: BoxProps['minWidth']; }; type StyledChipWrapperProps = {