We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b189274 commit 78a602bCopy full SHA for 78a602b
src/AntdRegistry.tsx
@@ -1,7 +1,8 @@
1
'use client';
2
3
-import React, { FC, useRef, useState } from 'react';
+import React, { type FC, useRef, useState } from 'react';
4
import { createCache, extractStyle, StyleProvider } from '@ant-design/cssinjs';
5
+import type { StyleProviderProps } from '@ant-design/cssinjs';
6
import { useServerInsertedHTML } from 'next/navigation';
7
8
type AntdRegistryProps = Omit<StyleProviderProps, 'cache'>;
0 commit comments