Files
dify/web/app/components/workflow/skill/skill-page-layout.tsx
yyh 8326b9e3e5 refactor(skill): remove React.FC type annotations from all components
Replace FC<Props> pattern with direct props typing in function parameters
for better TypeScript inference and modern React best practices.
2026-01-28 23:34:08 +08:00

15 lines
337 B
TypeScript

import type { PropsWithChildren } from 'react'
import * as React from 'react'
type SkillPageLayoutProps = PropsWithChildren
const SkillPageLayout = ({ children }: SkillPageLayoutProps) => {
return (
<div className="flex h-full gap-3 overflow-hidden">
{children}
</div>
)
}
export default React.memo(SkillPageLayout)