mirror of
https://github.com/remvze/moodist.git
synced 2026-02-28 09:03:12 +08:00
19 lines
414 B
TypeScript
19 lines
414 B
TypeScript
import { Modal } from '@/components/modal';
|
|
import { Exercise } from './exercise';
|
|
|
|
import styles from './breathing.module.css';
|
|
|
|
interface TimerProps {
|
|
onClose: () => void;
|
|
show: boolean;
|
|
}
|
|
|
|
export function BreathingExercise({ onClose, show }: TimerProps) {
|
|
return (
|
|
<Modal show={show} onClose={onClose}>
|
|
<h2 className={styles.title}>Breathing Exercise</h2>
|
|
<Exercise />
|
|
</Modal>
|
|
);
|
|
}
|