mirror of
https://github.com/remvze/moodist.git
synced 2025-12-17 00:44:14 +00:00
18 lines
332 B
TypeScript
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}
|
|
/>
|
|
);
|
|
}
|