1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-07-06 23:56:13 +02:00
Files
joplin/ReactNativeClient/lib/components/base-screen.js

20 lines
384 B
JavaScript
Raw Normal View History

2017-07-14 18:49:14 +00:00
import React, { Component } from 'react';
import { StyleSheet } from 'react-native';
2017-07-21 22:40:02 +01:00
import { globalStyle } from 'lib/components/global-style.js';
2017-07-14 18:49:14 +00:00
const styles_ = StyleSheet.create({
screen: {
flex: 1,
2017-07-21 22:40:02 +01:00
backgroundColor: globalStyle.backgroundColor,
2017-07-14 18:49:14 +00:00
},
});
class BaseScreenComponent extends React.Component {
styles() {
return styles_;
}
}
export { BaseScreenComponent };