moodist/src/components/menu/items/sleep-timer.tsx
2024-05-09 20:51:57 +03:30

18 lines
332 B
TypeScript

import { IoMoonSharp } from 'react-icons/io5/index';
import { Item } from '../item';
interface SleepTimerProps {
open: () => void;
}
export function SleepTimer({ open }: SleepTimerProps) {
return (
<Item
icon={<IoMoonSharp />}
label="Sleep Timer"
shortcut="Shift + T"
onClick={open}
/>
);
}