mirror of
https://github.com/remvze/moodist.git
synced 2026-03-06 20:13:13 +08:00
19 lines
345 B
TypeScript
19 lines
345 B
TypeScript
import { MdOutlineTimer } from 'react-icons/md/index';
|
|
|
|
import { Item } from '../item';
|
|
|
|
interface SleepTimerProps {
|
|
open: () => void;
|
|
}
|
|
|
|
export function CountdownTimer({ open }: SleepTimerProps) {
|
|
return (
|
|
<Item
|
|
icon={<MdOutlineTimer />}
|
|
label="Countdown Timer"
|
|
shortcut="Shift + T"
|
|
onClick={open}
|
|
/>
|
|
);
|
|
}
|