mirror of
https://github.com/langgenius/dify.git
synced 2026-05-01 16:08:04 +08:00
15 lines
339 B
TypeScript
15 lines
339 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 min-h-0 flex-1 flex-col rounded-lg">
|
|
{children}
|
|
</section>
|
|
)
|
|
}
|
|
|
|
export default React.memo(EditorArea)
|