feat: data management

This commit is contained in:
Tristan Yang
2023-05-30 17:41:08 +08:00
parent 1209e9d095
commit 5c686c7e42
19 changed files with 274 additions and 12 deletions
+19
View File
@@ -0,0 +1,19 @@
import React from "react";
type Props = {
title: string;
desc: string;
children: React.ReactNode;
};
const SettingBlock = ({ title, desc, children }: Props) => {
return (
<div className="text-sm">
<p className="text-gray-600 dark:text-gray-100 font-semibold">{title}</p>
<p className="flex justify-between w-full text-gray-400 mb-2 text-xs">{desc}</p>
{children}
</div>
);
};
export default SettingBlock;