@razorpay/blade 10.13.2 → 10.14.1
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.
- package/build/components/index.d.ts +114 -46
- package/build/components/index.development.web.js +171 -153
- package/build/components/index.development.web.js.map +1 -1
- package/build/components/index.native.d.ts +114 -46
- package/build/components/index.native.js +18 -18
- package/build/components/index.native.js.map +1 -1
- package/build/components/index.production.web.js +171 -153
- package/build/components/index.production.web.js.map +1 -1
- package/build/css/bankingThemeDarkDesktop.css +333 -157
- package/build/css/bankingThemeDarkMobile.css +333 -157
- package/build/css/bankingThemeLightDesktop.css +332 -156
- package/build/css/bankingThemeLightMobile.css +332 -156
- package/build/css/paymentThemeDarkDesktop.css +333 -157
- package/build/css/paymentThemeDarkMobile.css +333 -157
- package/build/css/paymentThemeLightDesktop.css +332 -156
- package/build/css/paymentThemeLightMobile.css +332 -156
- package/build/tokens/index.d.ts +46 -25
- package/build/tokens/index.development.web.js +3344 -1488
- package/build/tokens/index.development.web.js.map +1 -1
- package/build/tokens/index.native.d.ts +46 -25
- package/build/tokens/index.native.js +2 -2
- package/build/tokens/index.native.js.map +1 -1
- package/build/tokens/index.production.web.js +3344 -1488
- package/build/tokens/index.production.web.js.map +1 -1
- package/build/utils/index.d.ts +46 -25
- package/build/utils/index.development.web.js.map +1 -1
- package/build/utils/index.native.d.ts +46 -25
- package/build/utils/index.native.js.map +1 -1
- package/package.json +1 -1
|
@@ -369,23 +369,46 @@ declare type ActionStatesWithContrast = {
|
|
|
369
369
|
active: ColorContrast;
|
|
370
370
|
disabled: ColorContrast;
|
|
371
371
|
};
|
|
372
|
+
declare type ActionStatesWithLowContrast = {
|
|
373
|
+
default: Pick<ColorContrast, 'lowContrast'>;
|
|
374
|
+
hover: Pick<ColorContrast, 'lowContrast'>;
|
|
375
|
+
focus: Pick<ColorContrast, 'lowContrast'>;
|
|
376
|
+
active: Pick<ColorContrast, 'lowContrast'>;
|
|
377
|
+
disabled: Pick<ColorContrast, 'lowContrast'>;
|
|
378
|
+
};
|
|
372
379
|
declare type ActionVariants = {
|
|
373
380
|
primary: ActionStates;
|
|
374
381
|
secondary: ActionStates;
|
|
375
382
|
tertiary: ActionStates;
|
|
376
383
|
link: LinkActionStates;
|
|
377
384
|
};
|
|
378
|
-
declare type ActionVariantsWithContrast = {
|
|
379
|
-
primary: ActionStatesWithContrast;
|
|
380
|
-
secondary: ActionStatesWithContrast;
|
|
381
|
-
tertiary: ActionStatesWithContrast;
|
|
382
|
-
link: ActionStatesWithContrast;
|
|
383
|
-
};
|
|
384
385
|
declare type FeedbackActions = {
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
386
|
+
action: {
|
|
387
|
+
background: {
|
|
388
|
+
primary: ActionStatesWithContrast;
|
|
389
|
+
secondary: ActionStatesWithLowContrast;
|
|
390
|
+
};
|
|
391
|
+
border: {
|
|
392
|
+
primary: ActionStatesWithContrast;
|
|
393
|
+
secondary: ActionStatesWithLowContrast;
|
|
394
|
+
};
|
|
395
|
+
text: {
|
|
396
|
+
link: ActionStatesWithContrast;
|
|
397
|
+
primary: ActionStatesWithContrast;
|
|
398
|
+
secondary: ActionStatesWithLowContrast;
|
|
399
|
+
};
|
|
400
|
+
icon: {
|
|
401
|
+
link: ActionStatesWithContrast;
|
|
402
|
+
primary: ActionStatesWithContrast;
|
|
403
|
+
secondary: ActionStatesWithLowContrast;
|
|
404
|
+
};
|
|
405
|
+
};
|
|
406
|
+
};
|
|
407
|
+
declare type WhiteColors = {
|
|
408
|
+
background: Pick<ActionVariants, 'primary' | 'secondary' | 'tertiary'>;
|
|
409
|
+
border: Pick<ActionVariants, 'primary' | 'secondary' | 'tertiary'>;
|
|
410
|
+
text: Pick<ActionVariants, 'link' | 'primary' | 'secondary' | 'tertiary'>;
|
|
411
|
+
icon: Pick<ActionVariants, 'link' | 'primary' | 'secondary' | 'tertiary'>;
|
|
389
412
|
};
|
|
390
413
|
declare type Colors = {
|
|
391
414
|
brand: {
|
|
@@ -398,21 +421,11 @@ declare type Colors = {
|
|
|
398
421
|
border: Record<Feedback, ColorContrast>;
|
|
399
422
|
text: Record<Feedback, ColorContrast>;
|
|
400
423
|
icon: Record<Feedback, ColorContrast>;
|
|
401
|
-
positive:
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
};
|
|
407
|
-
information: {
|
|
408
|
-
action: FeedbackActions;
|
|
409
|
-
};
|
|
410
|
-
notice: {
|
|
411
|
-
action: FeedbackActions;
|
|
412
|
-
};
|
|
413
|
-
neutral: {
|
|
414
|
-
action: FeedbackActions;
|
|
415
|
-
};
|
|
424
|
+
positive: FeedbackActions;
|
|
425
|
+
negative: FeedbackActions;
|
|
426
|
+
information: FeedbackActions;
|
|
427
|
+
notice: FeedbackActions;
|
|
428
|
+
neutral: FeedbackActions;
|
|
416
429
|
};
|
|
417
430
|
surface: {
|
|
418
431
|
background: Record<'level1' | 'level2' | 'level3', ColorContrast>;
|
|
@@ -421,6 +434,8 @@ declare type Colors = {
|
|
|
421
434
|
action: {
|
|
422
435
|
icon: ActionStatesWithContrast;
|
|
423
436
|
};
|
|
437
|
+
overlay: Record<'background', Record<400 | 800, string>>;
|
|
438
|
+
popup: Record<'background', string>;
|
|
424
439
|
};
|
|
425
440
|
overlay: Record<'background', string>;
|
|
426
441
|
action: {
|
|
@@ -443,6 +458,12 @@ declare type Colors = {
|
|
|
443
458
|
blue: ColorContrast;
|
|
444
459
|
};
|
|
445
460
|
};
|
|
461
|
+
static: {
|
|
462
|
+
white: string;
|
|
463
|
+
};
|
|
464
|
+
white: {
|
|
465
|
+
action: WhiteColors;
|
|
466
|
+
};
|
|
446
467
|
};
|
|
447
468
|
declare type ColorsWithModes = Record<ColorSchemeModes, Colors>;
|
|
448
469
|
declare type ThemeTokens = {
|
|
@@ -1971,12 +1992,13 @@ declare type ActionIconColors = `action.icon.${DotNotationColorStringToken<Theme
|
|
|
1971
1992
|
declare type TextIconColors = `surface.text.${DotNotationColorStringToken<Theme['colors']['surface']['text']>}`;
|
|
1972
1993
|
declare type SurfaceActionIconColors = `surface.action.icon.${DotNotationColorStringToken<Theme['colors']['surface']['action']['icon']>}`;
|
|
1973
1994
|
declare type BadgeIconColors = `badge.icon.${DotNotationColorStringToken<Theme['colors']['badge']['icon']>}`;
|
|
1995
|
+
declare type WhiteIconColors = `white.action.icon.${DotNotationColorStringToken<Theme['colors']['white']['action']['icon']>}`;
|
|
1974
1996
|
declare type IconSize = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | '2xlarge';
|
|
1975
1997
|
declare type IconProps = {
|
|
1976
1998
|
/**
|
|
1977
1999
|
* Color token (not to be confused with actual hsla value)
|
|
1978
2000
|
*/
|
|
1979
|
-
color?: ActionIconColors | SurfaceActionIconColors | FeedbackIconColors | FeedbackActionIconColors | TextIconColors | BadgeIconColors | 'currentColor';
|
|
2001
|
+
color?: ActionIconColors | SurfaceActionIconColors | FeedbackIconColors | FeedbackActionIconColors | TextIconColors | BadgeIconColors | WhiteIconColors | 'currentColor';
|
|
1980
2002
|
size?: IconSize;
|
|
1981
2003
|
} & StyledPropsBlade;
|
|
1982
2004
|
declare type IconComponent = React.ComponentType<IconProps>;
|
|
@@ -1988,11 +2010,18 @@ declare type BadgeProps = {
|
|
|
1988
2010
|
*/
|
|
1989
2011
|
children: StringChildrenType;
|
|
1990
2012
|
/**
|
|
1991
|
-
*
|
|
2013
|
+
* This prop is deprecated in favor of `color`.
|
|
1992
2014
|
*
|
|
2015
|
+
* @deprecated Use the `color` prop instead
|
|
1993
2016
|
* @default 'neutral'
|
|
1994
2017
|
*/
|
|
1995
2018
|
variant?: Feedback | 'blue';
|
|
2019
|
+
/**
|
|
2020
|
+
* Sets the color of the badge.
|
|
2021
|
+
*
|
|
2022
|
+
* @default 'neutral'
|
|
2023
|
+
*/
|
|
2024
|
+
color?: Feedback | 'default';
|
|
1996
2025
|
/**
|
|
1997
2026
|
* Sets the contrast of the badge.
|
|
1998
2027
|
*
|
|
@@ -2018,7 +2047,7 @@ declare type BadgeProps = {
|
|
|
2018
2047
|
*/
|
|
2019
2048
|
fontWeight?: 'regular' | 'bold';
|
|
2020
2049
|
} & TestID & StyledPropsBlade;
|
|
2021
|
-
declare const Badge: ({ children, contrast, fontWeight, icon, size, variant, testID, ...styledProps }: BadgeProps) => ReactElement;
|
|
2050
|
+
declare const Badge: ({ children, contrast, fontWeight, icon, size, variant, color, testID, ...styledProps }: BadgeProps) => ReactElement;
|
|
2022
2051
|
|
|
2023
2052
|
declare type ActionListItemProps = {
|
|
2024
2053
|
title: string;
|
|
@@ -2164,11 +2193,16 @@ declare type AlertProps = {
|
|
|
2164
2193
|
*/
|
|
2165
2194
|
isFullWidth?: boolean;
|
|
2166
2195
|
/**
|
|
2167
|
-
*
|
|
2196
|
+
* This prop is deprecated in favor of the `color` prop.
|
|
2168
2197
|
*
|
|
2198
|
+
* @deprecated Use `color` instead
|
|
2169
2199
|
* @default neutral
|
|
2170
2200
|
*/
|
|
2171
2201
|
intent?: Feedback;
|
|
2202
|
+
/**
|
|
2203
|
+
* Sets the color tone
|
|
2204
|
+
*/
|
|
2205
|
+
color?: Feedback;
|
|
2172
2206
|
/**
|
|
2173
2207
|
* Renders a primary action button and a secondary action link button
|
|
2174
2208
|
*/
|
|
@@ -2183,7 +2217,7 @@ declare type AlertProps = {
|
|
|
2183
2217
|
secondary?: SecondaryAction;
|
|
2184
2218
|
};
|
|
2185
2219
|
} & TestID & StyledPropsBlade;
|
|
2186
|
-
declare const Alert: ({ description, title, isDismissible, onDismiss, contrast, isFullWidth, intent, actions, testID, ...styledProps }: AlertProps) => ReactElement | null;
|
|
2220
|
+
declare const Alert: ({ description, title, isDismissible, onDismiss, contrast, isFullWidth, intent, color, actions, testID, ...styledProps }: AlertProps) => ReactElement | null;
|
|
2187
2221
|
|
|
2188
2222
|
declare const Box: React__default.ForwardRefExoticComponent<Partial<PaddingProps & MarginProps & {
|
|
2189
2223
|
width: SpacingValueType | {
|
|
@@ -3074,11 +3108,12 @@ declare type FeedbackActionColors = `feedback.${Feedback}.action.text.${DotNotat
|
|
|
3074
3108
|
declare type SurfaceColors = `surface.text.${DotNotationColorStringToken<Theme['colors']['surface']['text']>}`;
|
|
3075
3109
|
declare type ActionColors = `action.text.${DotNotationColorStringToken<Theme['colors']['action']['text']>}`;
|
|
3076
3110
|
declare type BadgeTextColors = `badge.text.${DotNotationColorStringToken<Theme['colors']['badge']['text']>}`;
|
|
3111
|
+
declare type WhiteTextColors = `white.action.text.${DotNotationColorStringToken<Theme['colors']['white']['action']['text']>}`;
|
|
3077
3112
|
declare type BrandPrimaryColors = `brand.primary.${keyof Theme['colors']['brand']['primary']}`;
|
|
3078
3113
|
declare type As = 'code' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span' | 'abbr' | 'q' | 'cite' | 'figcaption' | 'div';
|
|
3079
3114
|
declare type BaseTextProps = {
|
|
3080
3115
|
id?: string;
|
|
3081
|
-
color?: BrandPrimaryColors | ActionColors | FeedbackColors | SurfaceColors | FeedbackActionColors | BadgeTextColors;
|
|
3116
|
+
color?: BrandPrimaryColors | ActionColors | FeedbackColors | SurfaceColors | FeedbackActionColors | WhiteTextColors | BadgeTextColors;
|
|
3082
3117
|
fontFamily?: keyof Theme['typography']['fonts']['family'];
|
|
3083
3118
|
fontSize?: keyof Theme['typography']['fonts']['size'];
|
|
3084
3119
|
fontWeight?: keyof Theme['typography']['fonts']['weight'];
|
|
@@ -3104,8 +3139,7 @@ declare type BaseTextProps = {
|
|
|
3104
3139
|
declare type BaseTextSizes = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
|
|
3105
3140
|
|
|
3106
3141
|
declare type BaseLinkCommonProps = {
|
|
3107
|
-
|
|
3108
|
-
contrast?: 'low' | 'high';
|
|
3142
|
+
color?: 'default' | 'white' | 'positive' | 'negative' | 'notice' | 'information' | 'neutral';
|
|
3109
3143
|
icon?: IconComponent;
|
|
3110
3144
|
iconPosition?: 'left' | 'right';
|
|
3111
3145
|
onClick?: (event: SyntheticEvent) => void;
|
|
@@ -3170,6 +3204,7 @@ declare type BaseLinkProps = BaseLinkAnchorVariantProps | BaseLinkButtonVariantP
|
|
|
3170
3204
|
declare type LinkCommonProps = {
|
|
3171
3205
|
variant?: 'anchor' | 'button';
|
|
3172
3206
|
icon?: IconComponent;
|
|
3207
|
+
color?: 'default' | 'white' | 'neutral';
|
|
3173
3208
|
iconPosition?: 'left' | 'right';
|
|
3174
3209
|
isDisabled?: boolean;
|
|
3175
3210
|
onClick?: (event: SyntheticEvent) => void;
|
|
@@ -3261,8 +3296,7 @@ declare type BaseButtonCommonProps = {
|
|
|
3261
3296
|
isLoading?: boolean;
|
|
3262
3297
|
accessibilityProps?: Partial<AccessibilityProps>;
|
|
3263
3298
|
variant?: 'primary' | 'secondary' | 'tertiary';
|
|
3264
|
-
|
|
3265
|
-
intent?: 'positive' | 'negative' | 'notice' | 'information' | 'neutral';
|
|
3299
|
+
color?: 'default' | 'white' | 'positive' | 'negative' | 'notice' | 'information' | 'neutral';
|
|
3266
3300
|
} & TestID & StyledPropsBlade & BladeCommonEvents;
|
|
3267
3301
|
declare type BaseButtonWithoutIconProps = BaseButtonCommonProps & {
|
|
3268
3302
|
icon?: undefined;
|
|
@@ -3292,6 +3326,7 @@ declare type ButtonCommonProps = {
|
|
|
3292
3326
|
*/
|
|
3293
3327
|
rel?: BaseButtonProps['rel'];
|
|
3294
3328
|
variant?: 'primary' | 'secondary' | 'tertiary';
|
|
3329
|
+
color?: 'default' | 'white' | 'positive' | 'negative';
|
|
3295
3330
|
size?: 'xsmall' | 'small' | 'medium' | 'large';
|
|
3296
3331
|
iconPosition?: 'left' | 'right';
|
|
3297
3332
|
isDisabled?: boolean;
|
|
@@ -3332,18 +3367,25 @@ declare type CounterProps = {
|
|
|
3332
3367
|
*/
|
|
3333
3368
|
max?: number;
|
|
3334
3369
|
/**
|
|
3335
|
-
*
|
|
3370
|
+
* This prop is deprecated in favor of `color`.
|
|
3336
3371
|
*
|
|
3337
3372
|
* @default 'neutral'
|
|
3338
|
-
* @deprecated Use `
|
|
3373
|
+
* @deprecated Use `color` instead
|
|
3339
3374
|
*/
|
|
3340
3375
|
intent?: Feedback;
|
|
3341
3376
|
/**
|
|
3342
|
-
*
|
|
3377
|
+
* This prop is deprecated in favor of `color`.
|
|
3343
3378
|
*
|
|
3344
3379
|
* @default 'neutral'
|
|
3380
|
+
* @deprecated Use `color` instead
|
|
3345
3381
|
*/
|
|
3346
3382
|
variant?: Feedback | 'blue';
|
|
3383
|
+
/**
|
|
3384
|
+
* Sets the color of the counter.
|
|
3385
|
+
*
|
|
3386
|
+
* @default 'neutral'
|
|
3387
|
+
*/
|
|
3388
|
+
color?: Feedback | 'default';
|
|
3347
3389
|
/**
|
|
3348
3390
|
* Sets the contrast of the counter.
|
|
3349
3391
|
*
|
|
@@ -3357,7 +3399,7 @@ declare type CounterProps = {
|
|
|
3357
3399
|
*/
|
|
3358
3400
|
size?: 'small' | 'medium' | 'large';
|
|
3359
3401
|
} & TestID & StyledPropsBlade;
|
|
3360
|
-
declare const Counter: ({ value, max, intent, variant, contrast, size, testID, ...styledProps }: CounterProps) => React.ReactElement;
|
|
3402
|
+
declare const Counter: ({ value, max, intent, variant, color, contrast, size, testID, ...styledProps }: CounterProps) => React.ReactElement;
|
|
3361
3403
|
|
|
3362
3404
|
declare const validAsValues$3: readonly ["span", "h1", "h2", "h3", "h4", "h5", "h6"];
|
|
3363
3405
|
declare type TitleProps = {
|
|
@@ -4338,10 +4380,16 @@ declare type ChipProps = {
|
|
|
4338
4380
|
*/
|
|
4339
4381
|
icon?: IconComponent;
|
|
4340
4382
|
/**
|
|
4341
|
-
*
|
|
4383
|
+
* This is deprecated in favor of the `color` prop.
|
|
4342
4384
|
*
|
|
4385
|
+
* @deprecated Use the `color` prop instead.
|
|
4343
4386
|
*/
|
|
4344
4387
|
intent?: 'positive' | 'negative' | 'none';
|
|
4388
|
+
/**
|
|
4389
|
+
* Sets the Chip's visual color.
|
|
4390
|
+
*
|
|
4391
|
+
*/
|
|
4392
|
+
color?: 'positive' | 'negative' | 'default';
|
|
4345
4393
|
/**
|
|
4346
4394
|
* If `true`, the Chip will be disabled
|
|
4347
4395
|
*
|
|
@@ -4410,17 +4458,24 @@ declare type ChipGroupProps = {
|
|
|
4410
4458
|
*/
|
|
4411
4459
|
value?: string | string[];
|
|
4412
4460
|
/**
|
|
4413
|
-
*
|
|
4461
|
+
* This is deprecated in favor of the `color` prop.
|
|
4414
4462
|
*
|
|
4415
4463
|
* @default "none"
|
|
4464
|
+
* @deprecated Use the `color` prop instead.
|
|
4416
4465
|
*/
|
|
4417
4466
|
intent?: 'positive' | 'negative' | 'none';
|
|
4467
|
+
/**
|
|
4468
|
+
* Sets the ChipGroups's visual color, it will propagate down to all the Chips
|
|
4469
|
+
*
|
|
4470
|
+
*/
|
|
4471
|
+
color?: 'positive' | 'negative' | 'default';
|
|
4418
4472
|
} & TestID & StyledPropsBlade;
|
|
4419
4473
|
|
|
4420
4474
|
declare const Chip: React__default.ForwardRefExoticComponent<{
|
|
4421
4475
|
children: StringChildrenType;
|
|
4422
4476
|
icon?: IconComponent | undefined;
|
|
4423
4477
|
intent?: "none" | "negative" | "positive" | undefined;
|
|
4478
|
+
color?: "negative" | "positive" | "default" | undefined;
|
|
4424
4479
|
isDisabled?: boolean | undefined;
|
|
4425
4480
|
value?: string | undefined;
|
|
4426
4481
|
} & TestID & Partial<Omit<MarginProps & Pick<FlexboxProps, "alignSelf" | "justifySelf" | "order" | "placeSelf"> & {
|
|
@@ -4716,7 +4771,7 @@ declare const Chip: React__default.ForwardRefExoticComponent<{
|
|
|
4716
4771
|
} | undefined;
|
|
4717
4772
|
}, "display">, "__brand__">> & React__default.RefAttributes<BladeElementRef>>;
|
|
4718
4773
|
|
|
4719
|
-
declare const ChipGroup: ({ accessibilityLabel, children, isDisabled, name, defaultValue, onChange, value, size, intent, testID, selectionType, ...styledProps }: ChipGroupProps) => React__default.ReactElement;
|
|
4774
|
+
declare const ChipGroup: ({ accessibilityLabel, children, isDisabled, name, defaultValue, onChange, value, size, intent, color, testID, selectionType, ...styledProps }: ChipGroupProps) => React__default.ReactElement;
|
|
4720
4775
|
|
|
4721
4776
|
declare type DividerProps = {
|
|
4722
4777
|
/**
|
|
@@ -6275,7 +6330,12 @@ declare type RadioGroupProps = {
|
|
|
6275
6330
|
declare const RadioGroup: ({ children, label, helpText, isDisabled, isRequired, necessityIndicator, labelPosition, validationState, errorText, name, defaultValue, onChange, value, size, testID, ...styledProps }: RadioGroupProps) => React__default.ReactElement;
|
|
6276
6331
|
|
|
6277
6332
|
declare type BaseSpinnerProps = {
|
|
6278
|
-
|
|
6333
|
+
/**
|
|
6334
|
+
* Sets the color of the spinner.
|
|
6335
|
+
*
|
|
6336
|
+
* @default 'default'
|
|
6337
|
+
*/
|
|
6338
|
+
color?: 'default' | 'white' | Feedback;
|
|
6279
6339
|
/**
|
|
6280
6340
|
* Sets the label of the spinner.
|
|
6281
6341
|
*
|
|
@@ -6288,8 +6348,9 @@ declare type BaseSpinnerProps = {
|
|
|
6288
6348
|
*/
|
|
6289
6349
|
labelPosition?: 'right' | 'bottom';
|
|
6290
6350
|
/**
|
|
6291
|
-
*
|
|
6351
|
+
* This is deprecated in favor of the `color` prop.
|
|
6292
6352
|
*
|
|
6353
|
+
* @deprecated Use `color="white"` for high contrast and `color="default"` for low contrast
|
|
6293
6354
|
* @default 'low'
|
|
6294
6355
|
*/
|
|
6295
6356
|
contrast?: ColorContrastTypes;
|
|
@@ -6306,8 +6367,15 @@ declare type BaseSpinnerProps = {
|
|
|
6306
6367
|
accessibilityLabel: string;
|
|
6307
6368
|
} & TestID & StyledPropsBlade;
|
|
6308
6369
|
|
|
6309
|
-
declare type SpinnerProps = Omit<BaseSpinnerProps, 'intent'
|
|
6310
|
-
|
|
6370
|
+
declare type SpinnerProps = Omit<BaseSpinnerProps, 'intent'> & {
|
|
6371
|
+
/**
|
|
6372
|
+
* Sets the color of the spinner.
|
|
6373
|
+
*
|
|
6374
|
+
* @default 'default'
|
|
6375
|
+
*/
|
|
6376
|
+
color?: 'default' | 'white';
|
|
6377
|
+
};
|
|
6378
|
+
declare const Spinner: ({ label, labelPosition, accessibilityLabel, color, contrast, size, testID, ...styledProps }: SpinnerProps) => React.ReactElement;
|
|
6311
6379
|
|
|
6312
6380
|
declare type SkipNavLinkProps = {
|
|
6313
6381
|
id?: string;
|