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

18 lines
396 B
TypeScript

import type { FC, PropsWithChildren } from 'react'
import * as React from 'react'
type EditorAreaProps = PropsWithChildren
const EditorArea: FC<EditorAreaProps> = ({ children }) => {
return (
<section
className="flex flex-1 flex-col gap-3 rounded-lg bg-white p-3"
data-component="editor-area"
>
{children}
</section>
)
}
export default React.memo(EditorArea)