Files
dify/web/app/components/workflow/skill/editor-body.tsx
2026-01-14 16:28:14 +08:00

18 lines
375 B
TypeScript

import type { FC, PropsWithChildren } from 'react'
import * as React from 'react'
type EditorBodyProps = PropsWithChildren
const EditorBody: FC<EditorBodyProps> = ({ children }) => {
return (
<div
className="flex flex-1 rounded-md bg-gray-50 p-3"
data-component="editor-body"
>
{children}
</div>
)
}
export default React.memo(EditorBody)