gantri-components 2.22.0-beta.8 → 2.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,7 +6,7 @@ import { ResolutionAwareProp } from '../../types/resolution-aware-prop.type';
6
6
  export type ButtonVariant = 'primary' | 'secondary' | 'action' | 'primaryAlt' | 'secondaryAlt' | 'primaryAlert' | 'primaryContrast' | 'secondaryContrast';
7
7
  export type ButtonWidth = 'sm' | 'md' | 'lg' | string;
8
8
  export type ButtonSize = 'extraLarge' | 'large' | 'small' | 'mini' | string;
9
- export interface ButtonProps extends BaseProps {
9
+ export interface ButtonProps extends Pick<BaseProps, Exclude<keyof BaseProps, 'color'>> {
10
10
  alignSelf?: ResolutionAwareProp<Property.AlignSelf>;
11
11
  borderRadius?: ResolutionAwareProp<Property.BorderRadius>;
12
12
  disabled?: boolean;