mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-20 14:52:13 +00:00
more types/icons associations added to MetaItem
This commit is contained in:
parent
e9e82ab70b
commit
92ed3f3900
1 changed files with 7 additions and 1 deletions
|
|
@ -14,7 +14,13 @@ const ICON_FOR_TYPE = new Map([
|
|||
['series', 'ic_series'],
|
||||
['channel', 'ic_channels'],
|
||||
['tv', 'ic_tv'],
|
||||
['other', 'ic_movies']
|
||||
['book', 'ic_book'],
|
||||
['game', 'ic_games'],
|
||||
['music', 'ic_music'],
|
||||
['adult', 'ic_adult'],
|
||||
['radio', 'ic_radio'],
|
||||
['podcast', 'ic_podcast'],
|
||||
['other', 'ic_movies'],
|
||||
]);
|
||||
|
||||
const MetaItem = React.memo(({ className, type, name, poster, posterShape, playIcon, progress, options, dataset, optionOnSelect, ...props }) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue