mirror of
https://github.com/langgenius/dify.git
synced 2026-05-03 08:58:09 +08:00
15 lines
331 B
TypeScript
15 lines
331 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 rounded-lg">
|
|
{children}
|
|
</section>
|
|
)
|
|
}
|
|
|
|
export default React.memo(EditorArea)
|