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.
13 lines
408 B
13 lines
408 B
import { FC, ReactNode } from "react"
|
|
import { Button, Image, ImageStyle, Text, View } from "react-native"
|
|
import { Skin } from "../core/Skin"
|
|
import { Asset } from 'expo-asset';
|
|
import React from "react"
|
|
|
|
export const SkinComponent : FC<{skin: Skin, children: ImageStyle}> = ({skin, children}) => {
|
|
return (
|
|
<View>
|
|
<Image source={ skin.getSkinSource()} style={children}/>
|
|
</View>
|
|
)
|
|
} |