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']; };