-
Notifications
You must be signed in to change notification settings - Fork 37
Component_NavBar
duskcloudxu edited this page Jun 8, 2020
·
3 revisions
props as below
interface NavBarProps {
backDestination?: string;
showMenu?: boolean;
showBackButton?: boolean;
leftButton?: 'qrCode'|'back';
showSelector?: boolean;
position?: 'map'|'list';
onMap?: () => any;
onList?: () => any;
}
<SafeAreaView>
<NavBar leftButton="back" />
<NavBar leftButton="qrCode" />
<NavBar
showSelector={true}
onList={() => { alert(' you clicked List!'); }}
onMap={() => { alert('you clicked Map'); }}
position="map"
/>
</SafeAreaView>Installation Guide
Project structure overview and Contribution Guide