xref: /MusicFree/src/pages/artistDetail/components/content/musicContentItem.tsx (revision a3b33415d37ff72f265b11a58c6cdaf46facf691)
1*a3b33415S猫头猫import React from 'react';
2*a3b33415S猫头猫import {StyleSheet, Text, View} from 'react-native';
3*a3b33415S猫头猫import rpx from '@/utils/rpx';
4*a3b33415S猫头猫import MusicItem from '@/components/mediaItem/musicItem';
5*a3b33415S猫头猫
6*a3b33415S猫头猫interface IMusicContentProps {
7*a3b33415S猫头猫  item: IMusic.IMusicItem
8*a3b33415S猫头猫}
9*a3b33415S猫头猫export default function MusicContentItem(props: IMusicContentProps) {
10*a3b33415S猫头猫  const {item} = props;
11*a3b33415S猫头猫  return <MusicItem musicItem={item}></MusicItem>;
12*a3b33415S猫头猫}
13*a3b33415S猫头猫
14*a3b33415S猫头猫const style = StyleSheet.create({
15*a3b33415S猫头猫  wrapper: {
16*a3b33415S猫头猫    width: rpx(750),
17*a3b33415S猫头猫  },
18*a3b33415S猫头猫});
19