11 lines
285 B
TypeScript
11 lines
285 B
TypeScript
interface TrackInfoDisplayProps {
|
|
artist: string,
|
|
track: string
|
|
}
|
|
export default function TrackInfoDisplay(props: Readonly<TrackInfoDisplayProps>) {
|
|
return (
|
|
<div>
|
|
<div className={`album-title`}>{`${props.artist} - `}{props.track}</div>
|
|
</div>
|
|
)
|
|
} |