mirror of
https://github.com/remvze/moodist.git
synced 2025-12-19 01:44:15 +00:00
21 lines
427 B
TypeScript
21 lines
427 B
TypeScript
import { RiPlayListFill } from 'react-icons/ri/index';
|
|
|
|
import { Item } from '../item';
|
|
import { getLocalizedText } from '@/utils/language';
|
|
|
|
interface PresetsProps {
|
|
open: () => void;
|
|
}
|
|
|
|
export function Presets({ open }: PresetsProps) {
|
|
const label = getLocalizedText('presets');
|
|
|
|
return (
|
|
<Item
|
|
icon={<RiPlayListFill />}
|
|
label={label}
|
|
shortcut="Shift + Alt + P"
|
|
onClick={open}
|
|
/>
|
|
);
|
|
}
|