You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
BOB_PARTY/bob_party/src/components/skinAvatar.tsx

14 lines
381 B

import { FC} from "react"
import {Image, ImageStyle, View } from "react-native"
import { Skin } from "../core/Skin"
import React from "react"
import { Asset } from "expo-asset"
export const SkinComponent : FC<{skin: Skin, children: ImageStyle}> = ({skin, children}) => {
return (
<View>
<Image source={ skin.getSkinSource()} style={children}/>
</View>
)
}