UNPKG

react-native-unistyles

Version:
30 lines (29 loc) 749 B
"use strict"; import { deepMergeObjects } from '../utils'; import { create } from './create'; import * as unistyles from './services'; export const StyleSheet = { configure: unistyles.services.state.init, create: create, absoluteFill: { position: 'absolute', left: 0, top: 0, right: 0, bottom: 0 }, absoluteFillObject: { position: 'absolute', left: 0, top: 0, right: 0, bottom: 0 }, compose: (a, b) => deepMergeObjects(a, b), flatten: (...styles) => deepMergeObjects(...styles), hairlineWidth: 1 }; export const UnistylesRuntime = unistyles.services.runtime; export const UnistylesShadowRegistry = unistyles.services.shadowRegistry; export * from './mock'; //# sourceMappingURL=index.js.map