import type { Artist } from '../types' import { useFavouriteStore } from '../store/favourite' export const ArtistList = ({ items, allowHScroll = false, tileSize = 200, }: { items: Artist[], allowHScroll?: boolean, tileSize?: number, }) => { const favouriteStore = useFavouriteStore(), isFavourite = (id: string) => favouriteStore.get('artist', id), toggleFavourite = async (id: string) => favouriteStore.toggle('artist', id) return vine` ` }