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
| # | Name | Data type | Default value | Values | Description |
|---|---|---|---|---|---|
| 1 | className | string | '' | It defined external CSS stylesheet. | |
| 2 | onPress | function |