react-native-ios-utilities
Version:
Utilities for react-native + iOS and wrappers for using swift together with fabric/paper + JSI
22 lines • 546 B
TypeScript
import type { OnDidSetViewIDEventPayload } from "./SharedViewEvents";
export type Point = {
x: number;
y: number;
};
/** Object return by `DynamicColorIOS` */
export type DynamicColor = {
dynamic: {
dark: string;
light: string;
};
} | {
dark: string;
light: string;
};
export type ColorValue = string | DynamicColor;
export type NativeViewIdentifier = {
reactTag: OnDidSetViewIDEventPayload['reactTag'];
} | {
viewID: OnDidSetViewIDEventPayload['viewID'];
};
//# sourceMappingURL=MiscTypes.d.ts.map