17 lines
349 B
TypeScript
17 lines
349 B
TypeScript
|
|
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;
|