diff --git a/src/AntdRegistry.tsx b/src/AntdRegistry.tsx index 4beb783..5c15c84 100644 --- a/src/AntdRegistry.tsx +++ b/src/AntdRegistry.tsx @@ -1,7 +1,8 @@ 'use client'; -import React, { FC, useRef, useState } from 'react'; +import React, { type FC, useRef, useState } from 'react'; import { createCache, extractStyle, StyleProvider } from '@ant-design/cssinjs'; +import type { StyleProviderProps } from '@ant-design/cssinjs'; import { useServerInsertedHTML } from 'next/navigation'; type AntdRegistryProps = Omit;