feat(conference) added React Navigation

Introduce navigation for all in-conference screens.
This commit is contained in:
Calinteodor
2021-10-20 22:29:21 +03:00
committed by GitHub
parent a5129ef291
commit 9df59b4a6f
54 changed files with 1712 additions and 605 deletions

View File

@@ -0,0 +1,39 @@
// @flow
import React from 'react';
import { TouchableWithoutFeedback } from 'react-native';
import { Icon } from '../../../base/icons';
import styles from './styles';
type Props = {
/**
* Callback to invoke when the {@code HeaderNavigationButton} is clicked/pressed.
*/
onPress: Function,
/**
* The ImageSource to be rendered as image.
*/
src: Object,
/**
* The component's external style
*/
style: Object
}
const HeaderNavigationButton = ({ onPress, src, style }: Props) => (
<TouchableWithoutFeedback
onPress = { onPress } >
<Icon
size = { 20 }
src = { src }
style = { [ styles.headerNavigationButton, style ] } />
</TouchableWithoutFeedback>
);
export default HeaderNavigationButton;