2017-01-25 19:40:59 +01:00
|
|
|
//@module: es6
|
|
|
|
//@moduleResolution: node
|
|
|
|
//@target: es6
|
|
|
|
//@noImplicitAny: false
|
|
|
|
//@allowSyntheticDefaultImports: true
|
|
|
|
//@allowJs: true
|
|
|
|
//@jsx: react
|
2018-01-20 06:58:46 +01:00
|
|
|
//@outDir: build
|
2017-01-25 19:40:59 +01:00
|
|
|
|
|
|
|
//@filename: react.d.ts
|
|
|
|
export = React;
|
|
|
|
export as namespace React;
|
|
|
|
|
|
|
|
declare namespace React {
|
|
|
|
|
|
|
|
function createClass(spec: any): ClassicComponentClass;
|
|
|
|
|
|
|
|
interface ClassicComponentClass {
|
|
|
|
new (props?: any): ClassicComponentClass;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
declare global {
|
|
|
|
namespace JSX {
|
|
|
|
interface ElementAttributesProperty { }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//@filename: src/components/TabBar.js
|
|
|
|
export default React.createClass({
|
|
|
|
render() {
|
|
|
|
return (
|
|
|
|
null
|
|
|
|
);
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
//@filename: src/modules/navigation/NavigationView.js
|
|
|
|
import TabBar from '../../components/TabBar';
|
|
|
|
import {layout} from '../../utils/theme'; // <- DO NOT DROP this import
|
|
|
|
const x = <TabBar height={layout.footerHeight} />;
|