mirror of
https://github.com/remvze/moodist.git
synced 2026-03-10 05:53:13 +08:00
12 lines
295 B
TypeScript
12 lines
295 B
TypeScript
import { BiShuffle } from 'react-icons/bi/index';
|
|
|
|
import { useSoundStore } from '@/store';
|
|
|
|
import { Item } from '../item';
|
|
|
|
export function Shuffle() {
|
|
const shuffle = useSoundStore(state => state.shuffle);
|
|
|
|
return <Item icon={<BiShuffle />} label="Shuffle Sounds" onClick={shuffle} />;
|
|
}
|