feat(navigation) style updates

This commit is contained in:
Calin Chitu
2022-06-09 17:23:56 +03:00
committed by Calinteodor
parent 10b800e57f
commit a272995b8c
7 changed files with 23 additions and 8 deletions

View File

@@ -4,11 +4,16 @@ import React from 'react';
import { Text, TouchableRipple } from 'react-native-paper';
import { Icon } from '../../../base/icons';
import BaseTheme from '../../../base/ui/components/BaseTheme';
import type { StyleType } from '../../../base/styles';
import styles from '../../../conference/components/native/styles';
type Props = {
/**
* Style of the header button .
*/
buttonStyle?: StyleType,
/**
* Is the button disabled?
*/
@@ -37,6 +42,7 @@ type Props = {
const HeaderNavigationButton
= ({
buttonStyle,
disabled,
label,
onPress,
@@ -49,8 +55,10 @@ const HeaderNavigationButton
src ? (
<TouchableRipple
onPress = { onPress }
rippleColor = { BaseTheme.palette.screen02Header }
style = { styles.headerNavigationButton } >
rippleColor = { 'transparent' }
style = { [
buttonStyle,
styles.headerNavigationButton ] } >
<Icon
size = { 24 }
src = { src } />
@@ -59,7 +67,7 @@ const HeaderNavigationButton
<TouchableRipple
disabled = { disabled }
onPress = { onPress }
rippleColor = { BaseTheme.palette.screen02Header }>
rippleColor = { 'transparent' }>
<Text
style = {
twoActions