feat(authentication): authentication log in/log out through Profile section

This commit is contained in:
Calin-Teodor
2023-08-18 16:52:22 +03:00
committed by Calinteodor
parent b31041f0ce
commit 86ccc176e8
8 changed files with 194 additions and 44 deletions

View File

@@ -11,6 +11,11 @@ import { navigationStyles } from './styles';
interface IProps {
/**
* Icon button color.
*/
color?: string;
/**
* Is the button disabled?
*/
@@ -42,7 +47,7 @@ interface IProps {
twoActions?: boolean;
}
const HeaderNavigationButton = ({ disabled, label, onPress, src, style, twoActions }: IProps) => {
const HeaderNavigationButton = ({ color, disabled, label, onPress, src, style, twoActions }: IProps) => {
let btnStyle;
let labelStyle;
@@ -64,6 +69,7 @@ const HeaderNavigationButton = ({ disabled, label, onPress, src, style, twoActio
{
src ? (
<IconButton
color = { color }
onPress = { onPress }
size = { 24 }
src = { src }