From dc60b668428912470206d6e2fce8397fb17fe5ba Mon Sep 17 00:00:00 2001 From: alguilhot Date: Sun, 16 Oct 2022 11:45:44 +0200 Subject: [PATCH] =?UTF-8?q?ADD:=20Ajout=20du=20skincomponent=20=C3=A0=20la?= =?UTF-8?q?=20TopBar?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bob_party/src/components/TopBar.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bob_party/src/components/TopBar.tsx b/bob_party/src/components/TopBar.tsx index d4c033b..5c38ea8 100644 --- a/bob_party/src/components/TopBar.tsx +++ b/bob_party/src/components/TopBar.tsx @@ -2,7 +2,7 @@ import { FC, ReactNode } from "react" import { Pressable, Image, Text, View} from "react-native" import { Skin } from "../core/Skin" import React from "react" -import { SkinComponent } from "./skinAvatar" +import { SkinComponent } from "./Skin" import styles from './style/TopBar.style'; @@ -10,7 +10,7 @@ const engrenage = require('../../assets/Icons/UnSelected/Cogs.png'); const cross = require('../../assets/Icons/UnSelected/Cross.png'); const msc = require('../../assets/Icons/FondGris.png'); -export const TopBar : FC<{skin?: Skin, nav: any, state?: string}> = ({skin, nav, state}) => +export const TopBar : FC<{skin?: skin, nav: any, state?: string}> = ({skin, nav, state}) => { switch (state) { case 'settings': @@ -29,7 +29,7 @@ export const TopBar : FC<{skin?: Skin, nav: any, state?: string}> = ({skin, nav, return ( nav.navigate('ProfileTab')}> - + BOB PARTY nav.navigate('Settings')}>