mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Change flatten import syntax in StyleSheet (#48705)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/48705 Changelog: [Internal] - Changed flatten import syntax in StyleSheet Reviewed By: elicwhite Differential Revision: D68213648 fbshipit-source-id: bf6c33387ae9d36b6ce41b57639948c2b4902e55
This commit is contained in:
committed by
Facebook GitHub Bot
parent
df9d43f02b
commit
68ae3ca5e9
@@ -24,10 +24,10 @@ import type {
|
||||
} from './StyleSheetTypes';
|
||||
|
||||
import composeStyles from '../../src/private/styles/composeStyles';
|
||||
import flatten from './flattenStyle';
|
||||
|
||||
const ReactNativeStyleAttributes = require('../Components/View/ReactNativeStyleAttributes');
|
||||
const PixelRatio = require('../Utilities/PixelRatio').default;
|
||||
const flatten = require('./flattenStyle');
|
||||
|
||||
export type {NativeColorValue} from './StyleSheetTypes';
|
||||
|
||||
|
||||
@@ -7827,8 +7827,7 @@ declare export function normalizeRect(rectOrSize: ?RectOrSize): ?Rect;
|
||||
`;
|
||||
|
||||
exports[`public API should not change unintentionally Libraries/StyleSheet/StyleSheet.js 1`] = `
|
||||
"declare const flatten: $FlowFixMe;
|
||||
export type { NativeColorValue } from \\"./StyleSheetTypes\\";
|
||||
"export type { NativeColorValue } from \\"./StyleSheetTypes\\";
|
||||
export type ColorValue = ____ColorValue_Internal;
|
||||
export type ViewStyleProp = ____ViewStyleProp_Internal;
|
||||
export type TextStyleProp = ____TextStyleProp_Internal;
|
||||
|
||||
Reference in New Issue
Block a user