import React from "react"; import { View, StyleSheet } from "react-native"; import { QBImage } from "@applicaster/zapp-react-native-ui-components/Components/Image"; import { toNumberWithDefaultZero } from "@applicaster/zapp-react-native-utils/numberUtils"; const styles = StyleSheet.create({ container: { marginHorizontal: 24, }, image: { width: 400, height: 400, }, }); type Props = { srcImage: string; config?: { titleColor: string; summaryColor: string; backgroundColor: string; backgroundImage: string; isRTL: boolean; artworkBorderRadius: Option; }; }; export function Artwork({ srcImage, config }: Props) { const borderRadius = toNumberWithDefaultZero(config.artworkBorderRadius); return ( ); }