mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-01-02 18:45:29 +08:00
### What problem does this PR solve? Feat: Rendering recall test page #3221 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
15
web/src/pages/dataset/dataset-title.tsx
Normal file
15
web/src/pages/dataset/dataset-title.tsx
Normal file
@ -0,0 +1,15 @@
|
||||
import { ReactNode } from 'react';
|
||||
|
||||
type TopTitleProps = {
|
||||
title: ReactNode;
|
||||
description: ReactNode;
|
||||
};
|
||||
|
||||
export function TopTitle({ title, description }: TopTitleProps) {
|
||||
return (
|
||||
<div className="pb-5">
|
||||
<div className="text-2xl font-semibold">{title}</div>
|
||||
<p className="text-text-sub-title pt-2">{description}</p>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user