From 9fada586e4f0a9f95347019e91992f8ec34d418b Mon Sep 17 00:00:00 2001 From: AlekseyManetov Date: Fri, 7 Feb 2025 16:27:41 +0100 Subject: [PATCH] Add size to mods interfaces for the rest part of components --- epam-promo/components/widgets/CountIndicator.tsx | 2 +- loveship/components/widgets/CountIndicator.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/epam-promo/components/widgets/CountIndicator.tsx b/epam-promo/components/widgets/CountIndicator.tsx index 1a8ef2463d..320839f985 100644 --- a/epam-promo/components/widgets/CountIndicator.tsx +++ b/epam-promo/components/widgets/CountIndicator.tsx @@ -1,7 +1,7 @@ import { createSkinComponent } from '@epam/uui-core'; import * as uui from '@epam/uui'; -type CountIndicatorMods = { +type CountIndicatorMods = Pick & { /** Defines component color. */ color: 'gray' | 'white' | 'blue' | 'green' | 'amber' | 'red' | uui.CountIndicatorProps['color']; }; diff --git a/loveship/components/widgets/CountIndicator.tsx b/loveship/components/widgets/CountIndicator.tsx index c982a41cf2..839bef86ad 100644 --- a/loveship/components/widgets/CountIndicator.tsx +++ b/loveship/components/widgets/CountIndicator.tsx @@ -1,7 +1,7 @@ import { createSkinComponent } from '@epam/uui-core'; import * as uui from '@epam/uui'; -type CountIndicatorMods = { +type CountIndicatorMods = Pick & { /** Defines component color. */ color: 'gray' | 'white' | 'sky' | 'grass' | 'sun' | 'fire' | uui.CountIndicatorProps['color']; };