mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-15 13:56:53 +08:00
Revert "Feat/parent child retrieval" (#12095)
This commit is contained in:
@@ -1,23 +0,0 @@
|
||||
import type { ComponentProps, FC } from 'react'
|
||||
import classNames from '@/utils/classnames'
|
||||
|
||||
export type PreviewHeaderProps = Omit<ComponentProps<'div'>, 'title'> & {
|
||||
title: string
|
||||
}
|
||||
|
||||
export const PreviewHeader: FC<PreviewHeaderProps> = (props) => {
|
||||
const { title, className, children, ...rest } = props
|
||||
return <div
|
||||
{...rest}
|
||||
className={classNames(
|
||||
className,
|
||||
)}
|
||||
>
|
||||
<div
|
||||
className='text-text-accent system-2xs-semibold-uppercase uppercase px-1 mb-1'
|
||||
>
|
||||
{title}
|
||||
</div>
|
||||
{children}
|
||||
</div>
|
||||
}
|
||||
Reference in New Issue
Block a user