diff --git a/components/button/__tests__/index.test.tsx b/components/button/__tests__/index.test.tsx index eddfd263af..892bd355fc 100644 --- a/components/button/__tests__/index.test.tsx +++ b/components/button/__tests__/index.test.tsx @@ -88,7 +88,7 @@ describe('Button', () => { }); it('renders Chinese characters correctly in HOC', () => { - const Text = ({ children }: { children: React.ReactNode }) => {children}; + const Text: React.FC = ({ children }) => {children}; const { container, rerender } = render(