项目初始化
This commit is contained in:
16
src/components/Setting/index.tsx
Normal file
16
src/components/Setting/index.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
import type React from "react";
|
||||
import { Card, Input } from "antd";
|
||||
|
||||
interface SettingProps {
|
||||
className?: string;
|
||||
}
|
||||
|
||||
const Setting: React.FC<SettingProps> = ({ className }) => {
|
||||
return (
|
||||
<Card title="设置" className={`${className} size-full`}>
|
||||
<Input addonBefore="Key" defaultValue="" />
|
||||
</Card>
|
||||
);
|
||||
};
|
||||
|
||||
export default Setting;
|
||||
Reference in New Issue
Block a user