From a4641c51de4be027fcccaff6ae3a8552465630a6 Mon Sep 17 00:00:00 2001 From: Andrey Morozov Date: Mon, 10 Jun 2024 16:46:07 +0300 Subject: [PATCH] fix: review fixes 2 --- src/components/theme/getRootClassName.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) {