dify/web/app/components/workflow/skill/skill-body/layout/content-area.tsx

15 lines
343 B
TypeScript

import type { PropsWithChildren } from 'react'
import * as React from 'react'
type ContentAreaProps = PropsWithChildren
const ContentArea = ({ children }: ContentAreaProps) => {
return (
<section className="flex min-h-0 min-w-0 flex-1 flex-col rounded-lg">
{children}
</section>
)
}
export default React.memo(ContentArea)