mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Make ColorValue public in StyleSheet.js
Summary: This diff makes the ColorValue export "official" by exporting it from StyleSheet in order to encourage its use in product code. Changelog: Moved ColorValue export from StyleSheetTypes to StyleSheet Reviewed By: TheSavior Differential Revision: D21076969 fbshipit-source-id: 972ef5a1b13bd9f6b7691a279a73168e7ce9d9ab
This commit is contained in:
committed by
Facebook GitHub Bot
parent
894f6b3e74
commit
0a67133124
@@ -25,8 +25,7 @@ import AndroidDrawerLayoutNativeComponent, {
|
||||
|
||||
const DRAWER_STATES = ['Idle', 'Dragging', 'Settling'];
|
||||
|
||||
import type {ViewStyleProp} from '../../StyleSheet/StyleSheet';
|
||||
import type {ColorValue} from '../../StyleSheet/StyleSheetTypes';
|
||||
import type {ColorValue, ViewStyleProp} from '../../StyleSheet/StyleSheet';
|
||||
import type {DirectEventHandler} from '../../Types/CodegenTypes';
|
||||
import type {
|
||||
MeasureOnSuccessCallback,
|
||||
|
||||
Reference in New Issue
Block a user