mirror of
https://github.com/remvze/moodist.git
synced 2025-12-17 00:44:14 +00:00
18 lines
419 B
TypeScript
18 lines
419 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 BreathingExerciseModal({ onClose, show }: TimerProps) {
|
|
return (
|
|
<Modal show={show} onClose={onClose}>
|
|
<h2 className={styles.title}>Breathing Exercise</h2>
|
|
<Exercise />
|
|
</Modal>
|
|
);
|
|
}
|