Skip to main content

NavigationHeaderBackButton

You can set buttons in the header through the headerLeft and headerRight properties in options. By tapping on this button you can interact between screens with the help of react navigation

How to use

import  React from 'react';
import {NavigationHeaderBackButton} from '@gyri/native-ui-components';

const MyComponent = ({onPress,className}) => (
<NavigationHeaderBackButton onPress={() => console.log('Pressed')} className={className} />
);

export default MyComponent;

Props

#NameData typeDefault valueValuesDescription
1classNamestring''It defined external CSS stylesheet.
2onPressfunction