react-native-unistyles
Version:
Level up your React Native StyleSheet
11 lines (10 loc) • 337 B
JavaScript
;
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();
};
//# sourceMappingURL=resetServerUnistyles.js.map