mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-15 22:06:52 +08:00
feat: parent child retrieval (#12106)
Signed-off-by: -LAN- <laipz8200@outlook.com> Co-authored-by: -LAN- <laipz8200@outlook.com>
This commit is contained in:
12
web/app/components/datasets/formatted-text/formatted.tsx
Normal file
12
web/app/components/datasets/formatted-text/formatted.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import type { ComponentProps, FC } from 'react'
|
||||
import classNames from '@/utils/classnames'
|
||||
|
||||
export type FormattedTextProps = ComponentProps<'p'>
|
||||
|
||||
export const FormattedText: FC<FormattedTextProps> = (props) => {
|
||||
const { className, ...rest } = props
|
||||
return <p
|
||||
{...rest}
|
||||
className={classNames('leading-7', className)}
|
||||
>{props.children}</p>
|
||||
}
|
||||
Reference in New Issue
Block a user