UNPKG

react-native-unistyles

Version:
13 lines (12 loc) 421 B
"use strict"; import * as unistyles from '../web/services'; import { error, isServer } from '../web/utils'; export const resetServerUnistyles = () => { if (!isServer()) { throw error('Server styles should only be reset on the server'); } unistyles.services.registry.reset(); unistyles.services.shadowRegistry.reset(); unistyles.services.listener.reset(); }; //# sourceMappingURL=resetServerUnistyles.js.map