Skip to content

Commit

Permalink
chore: change baseBoxProps to box props
Browse files Browse the repository at this point in the history
  • Loading branch information
tewarig committed Feb 17, 2025
1 parent 29bfc15 commit aad91c2
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions packages/blade/src/components/Chip/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
/**
Expand Down Expand Up @@ -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 &
Expand Down Expand Up @@ -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 = {
Expand Down

0 comments on commit aad91c2

Please sign in to comment.