feat: add hooks for document table and refactor document-related modal (#141)

* feat: add hooks for document table

* refactor: refactor document-related modal
This commit is contained in:
balibabu
2024-03-22 11:35:25 +08:00
committed by GitHub
parent 6c6b144de2
commit 73c2f4d418
12 changed files with 625 additions and 401 deletions

View File

@@ -35,7 +35,11 @@ const CategoryPanel = ({ chunkMethod }: { chunkMethod: string }) => {
<Title level={5} className={styles.topTitle}>
{item.title} Category
</Title>
<Text>{item.description}</Text>
<p
dangerouslySetInnerHTML={{
__html: item.description,
}}
></p>
<Title level={5}>{item.title} Image Examples</Title>
<Text>
We've prepared detailed visual guides to make understanding easier

View File

@@ -21,10 +21,10 @@ const Configuration = () => {
<Divider></Divider>
<Spin spinning={loading}>
<Row gutter={32}>
<Col span={12}>
<Col span={8}>
<ConfigurationForm form={form}></ConfigurationForm>
</Col>
<Col span={12}>
<Col span={16}>
<CategoryPanel chunkMethod={chunkMethod}></CategoryPanel>
</Col>
</Row>