Skip to content

Commit

Permalink
Remove experimental types (#47405)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #47405

Changelog: [Internal] - With New Architecture out, delete experimental type definition and move types back to relevant definition files

Reviewed By: cortinico, jorge-cab

Differential Revision: D65462903

fbshipit-source-id: bd7fc5bb689eb054b3a30ec7b388e0f455ff1c93
  • Loading branch information
lunaleaps authored and facebook-github-bot committed Nov 5, 2024
1 parent ba41228 commit 06071c6
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 59 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -211,4 +211,11 @@ export interface ViewProps
* Used to reference react managed views from native code.
*/
nativeID?: string | undefined;

/**
* Contols whether this view, and its transitive children, are laid in a way
* consistent with web browsers ('strict'), or consistent with existing
* React Native code which may rely on incorrect behavior ('classic').
*/
experimental_layoutConformance?: 'strict' | 'classic' | undefined;
}
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,12 @@ export interface ViewStyle extends FlexStyle, ShadowStyleIOS, TransformsStyle {
cursor?: CursorValue | undefined;
boxShadow?: ReadonlyArray<BoxShadowValue> | string | undefined;
filter?: ReadonlyArray<FilterFunction> | string | undefined;

mixBlendMode?: BlendMode | undefined;
experimental_backgroundImage?:
| ReadonlyArray<GradientValue>
| string
| undefined;
}

export type FontVariant =
Expand Down
59 changes: 0 additions & 59 deletions packages/react-native/types/experimental.d.ts

This file was deleted.

0 comments on commit 06071c6

Please sign in to comment.