UNPKG

@lastfm-viewer/solid

Version:

A solidjs component to view recent scrobbles for a last.fm user

11 lines (9 loc) 333 B
import { Colors, TrackInfo } from '@lastfm-viewer/utils/types'; import { Props } from './SolidLastFMViewer'; export type lfmvHook = { track: TrackInfo | Error | undefined; colors: Colors | undefined; loading: boolean; message: string | undefined; }; export declare const useLastfmViewer: (props: Props) => lfmvHook;