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.
This commit is contained in:
yyh
2026-01-28 23:34:08 +08:00
parent 999587fbdd
commit 8326b9e3e5
47 changed files with 88 additions and 120 deletions

View File

@ -1,12 +1,11 @@
'use client'
import type { FC } from 'react'
import { RiAddCircleFill, RiUploadLine } from '@remixicon/react'
import { memo } from 'react'
import { useTranslation } from 'react-i18next'
import ActionCard from './action-card'
const CreateImportSection: FC = () => {
const CreateImportSection = () => {
const { t } = useTranslation('workflow')
return (