Signed-off-by: Matt Bruce <mbrucedogs@gmail.com>
This commit is contained in:
parent
ba66205fd2
commit
b4353000d8
@ -17,6 +17,8 @@ const extractFilename = (path: string): string => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
// Song Information Display Component
|
// Song Information Display Component
|
||||||
|
// NOTE: The first two lines (title and artist) should match the styling of TwoLineDisplay component
|
||||||
|
// If you change the styling here, also update TwoLineDisplay to keep them in sync
|
||||||
export const SongInfoDisplay: React.FC<{
|
export const SongInfoDisplay: React.FC<{
|
||||||
song: Song;
|
song: Song;
|
||||||
showPath?: boolean;
|
showPath?: boolean;
|
||||||
|
|||||||
@ -10,6 +10,9 @@ interface TwoLineDisplayProps {
|
|||||||
secondarySize?: string;
|
secondarySize?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Two Line Display Component
|
||||||
|
// NOTE: This component should match the styling of the first two lines (title and artist) in SongInfoDisplay
|
||||||
|
// If you change the styling here, also update SongInfoDisplay to keep them in sync
|
||||||
export const TwoLineDisplay: React.FC<TwoLineDisplayProps> = ({
|
export const TwoLineDisplay: React.FC<TwoLineDisplayProps> = ({
|
||||||
primaryText,
|
primaryText,
|
||||||
secondaryText,
|
secondaryText,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user