mirror of
https://github.com/crocofied/CoreControl.git
synced 2025-12-19 00:17:01 +00:00
25 lines
800 B
TypeScript
25 lines
800 B
TypeScript
|
|
"use client";
|
||
|
|
|
||
|
|
import { useState } from "react";
|
||
|
|
|
||
|
|
interface NotificationSettingsProps {
|
||
|
|
onError: (message: string) => void;
|
||
|
|
onSuccess: (message: string) => void;
|
||
|
|
}
|
||
|
|
|
||
|
|
export const NotificationSettings = ({ onError, onSuccess }: NotificationSettingsProps) => {
|
||
|
|
const [enabled, setEnabled] = useState(false);
|
||
|
|
|
||
|
|
return (
|
||
|
|
<div>
|
||
|
|
<div className="w-full bg-base-200 p-4 rounded-2xl border border-stone-800">
|
||
|
|
<div className="flex items-center justify-between">
|
||
|
|
<div>
|
||
|
|
<h2 className="text-lg font-bold">Notification Settings</h2>
|
||
|
|
<p className="text-sm opacity-70">Manage your notification settings</p>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
)
|
||
|
|
}
|