From 395fca2b8c5c6680665abbf9480880d05584fecc Mon Sep 17 00:00:00 2001 From: Inomdzhon Mirdzhamolov Date: Mon, 25 Nov 2024 18:52:33 +0300 Subject: [PATCH] feat(FloatingReview): use baseStyle by RootComponent --- packages/vkui/src/components/FloatingArrow/FloatingArrow.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/vkui/src/components/FloatingArrow/FloatingArrow.tsx b/packages/vkui/src/components/FloatingArrow/FloatingArrow.tsx index 2294dd6579..60a866ce63 100644 --- a/packages/vkui/src/components/FloatingArrow/FloatingArrow.tsx +++ b/packages/vkui/src/components/FloatingArrow/FloatingArrow.tsx @@ -1,6 +1,5 @@ import * as React from 'react'; import { classNames } from '@vkontakte/vkjs'; -import { mergeStyle } from '../../helpers/mergeStyle'; import type { Placement } from '../../lib/floating'; import type { HasDataAttribute, HTMLAttributesWithRootRef } from '../../types'; import { RootComponent } from '../RootComponent/RootComponent'; @@ -48,7 +47,6 @@ export const FloatingArrow = ({ iconStyle, iconClassName, placement = 'bottom', - style, Icon = DefaultIcon, ...restProps }: FloatingArrowProps): React.ReactNode => { @@ -61,7 +59,7 @@ export const FloatingArrow = ({ return (