mirror of
https://github.com/remvze/moodist.git
synced 2025-12-17 08:54:13 +00:00
fix: fix some types
This commit is contained in:
parent
dc9da85e68
commit
04061e23c3
2 changed files with 9 additions and 2 deletions
|
|
@ -45,8 +45,15 @@ export function Categories() {
|
||||||
functional={false}
|
functional={false}
|
||||||
icon={<BiSolidHeart />}
|
icon={<BiSolidHeart />}
|
||||||
id="favorites"
|
id="favorites"
|
||||||
sounds={favoriteSounds}
|
|
||||||
title="Favorites"
|
title="Favorites"
|
||||||
|
sounds={
|
||||||
|
favoriteSounds as Array<{
|
||||||
|
src: string;
|
||||||
|
label: string;
|
||||||
|
id: string;
|
||||||
|
icon: React.ReactNode;
|
||||||
|
}>
|
||||||
|
}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ interface CategoryProps {
|
||||||
icon: React.ReactNode;
|
icon: React.ReactNode;
|
||||||
title: string;
|
title: string;
|
||||||
id: string;
|
id: string;
|
||||||
functional: boolean;
|
functional?: boolean;
|
||||||
sounds: Array<{
|
sounds: Array<{
|
||||||
label: string;
|
label: string;
|
||||||
src: string;
|
src: string;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue