Skip to content

Commit 8fa8fb7

Browse files
Phecdameta-codesync[bot]
authored andcommitted
fix(type): color and blurRadius of BoxShadowValue mistakenly swapped (#54401)
Summary: Fix #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: #54401 Test Plan: use `tsc` to check Reviewed By: cipolleschi Differential Revision: D86188123 Pulled By: javache fbshipit-source-id: 731fa0cbc1266c2c504e71d89cff7e3aff3e9a9e
1 parent a460df2 commit 8fa8fb7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/react-native/Libraries/StyleSheet/StyleSheetTypes.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,8 +343,8 @@ export type DropShadowValue = {
343343
export type BoxShadowValue = {
344344
offsetX: number | string;
345345
offsetY: number | string;
346-
color?: string | undefined;
347-
blurRadius?: ColorValue | number | undefined;
346+
color?: ColorValue | undefined;
347+
blurRadius?: string | number | undefined;
348348
spreadDistance?: number | string | undefined;
349349
inset?: boolean | undefined;
350350
};

0 commit comments

Comments
 (0)