Files
ragflow_python/web/src/pages/user-setting/components/setting-title/index.tsx

20 lines
351 B
TypeScript
Raw Normal View History

import { Typography } from 'antd';
const { Title, Paragraph } = Typography;
interface IProps {
title: string;
description: string;
}
const SettingTitle = ({ title, description }: IProps) => {
return (
<div>
<Title level={5}>{title}</Title>
<Paragraph>{description}</Paragraph>
</div>
);
};
export default SettingTitle;