diff --git a/src/components/theme/getRootClassName.ts b/src/components/theme/getRootClassName.ts index f3c81b0ef4..92b621a263 100644 --- a/src/components/theme/getRootClassName.ts +++ b/src/components/theme/getRootClassName.ts @@ -1,11 +1,12 @@ import {block} from '../utils/cn'; import {ROOT_CLASSNAME} from './constants'; +import type {RealTheme} from './types'; const b = block(ROOT_CLASSNAME); interface RootMods { - theme?: string; + theme?: RealTheme; } export function getRootClassName({theme}: RootMods = {}, className?: string) {