mirror of
https://github.com/langgenius/dify.git
synced 2026-05-03 17:08:03 +08:00
18 lines
375 B
TypeScript
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)
|