fix(type): color and blurRadius of BoxShadowValue mistakenly swapped (#54401)

Summary:
Fix https://github.com/facebook/react-native/issues/54400

This PR fixes a type definition error.

## Changelog:

<!-- Help reviewers and the release process by writing your own changelog entry.

Pick one each for the category and type tags:

[GENERAL] [FIXED] - `color` and `blurRadius` of BoxShadowValue mistakenly swapped

For more details, see:
https://reactnative.dev/contributing/changelogs-in-pull-requests
-->
[GENERAL] [FIXED] - `color` and `blurRadius` of BoxShadowValue mistakenly swapped

Pull Request resolved: https://github.com/facebook/react-native/pull/54401

Test Plan: use `tsc` to check

Reviewed By: cipolleschi

Differential Revision: D86188123

Pulled By: javache

fbshipit-source-id: 731fa0cbc1266c2c504e71d89cff7e3aff3e9a9e
This commit is contained in:
Phecda Su authored and meta-codesync[bot] committed 2025-11-04 03:44:57 -08:00
1 parent a460df2165
commit 8fa8fb7a52
1 file changed
+2 -2
@@ -343,8 +343,8 @@ export type DropShadowValue = {
export type BoxShadowValue = {
offsetX: number | string;
offsetY: number | string;
color?: string | undefined;
blurRadius?: ColorValue | number | undefined;
color?: ColorValue | undefined;
blurRadius?: string | number | undefined;
spreadDistance?: number | string | undefined;
inset?: boolean | undefined;
};