mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
20 lines
547 B
TypeScript
20 lines
547 B
TypeScript
import * as React from "react";
|
|
import { View, Text } from "react-native";
|
|
import NavigationBar from "react-native-navbar";
|
|
|
|
class NavigationBarTest extends React.Component {
|
|
render() {
|
|
return (
|
|
<View>
|
|
<NavigationBar tintColor={'red'} leftButton={{
|
|
title: "Back",
|
|
handler: () => { console.log("Back"); },
|
|
}}
|
|
rightButton={<Text>Next</Text>}
|
|
title={null}
|
|
/>
|
|
</View>
|
|
);
|
|
}
|
|
}
|