mirror of
https://github.com/Jellify-Music/App.git
synced 2026-05-01 16:09:44 -05:00
cards in tamagui can't be made circular ig
This commit is contained in:
@@ -27,8 +27,7 @@ export function ItemCard(props: CardProps) {
|
||||
>
|
||||
<TamaguiCard
|
||||
size="$4"
|
||||
circular={!!!props.squared}
|
||||
borderRadius={props.squared ? 2 : "unset"}
|
||||
borderRadius={props.squared ? 2 : 100}
|
||||
animation="bouncy"
|
||||
hoverStyle={props.onPress ? { scale: 0.925 } : {}}
|
||||
pressStyle={props.onPress ? { scale: 0.875 } : {}}
|
||||
|
||||
@@ -19,7 +19,6 @@ export default function RecentArtists({ navigation }: { navigation: NativeStackN
|
||||
renderItem={({ item: recentArtist}) => {
|
||||
return (
|
||||
<ItemCard
|
||||
width={150}
|
||||
item={recentArtist}
|
||||
caption={recentArtist.Name ?? "Unknown Artist"}
|
||||
onPress={() => {
|
||||
|
||||
Reference in New Issue
Block a user