mirror of
https://github.com/langgenius/dify.git
synced 2026-04-30 07:28:05 +08:00
Replace FC<Props> pattern with direct props typing in function parameters for better TypeScript inference and modern React best practices.
17 lines
397 B
TypeScript
17 lines
397 B
TypeScript
'use client'
|
|
|
|
import { memo } from 'react'
|
|
import CreateImportSection from './create-import-section'
|
|
import SkillTemplatesSection from './skill-templates-section'
|
|
|
|
const StartTabContent = () => {
|
|
return (
|
|
<div className="h-full w-full overflow-auto bg-components-panel-bg">
|
|
<CreateImportSection />
|
|
<SkillTemplatesSection />
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default memo(StartTabContent)
|