From e121e984633f885761eac08382296f5b1bed78e1 Mon Sep 17 00:00:00 2001 From: Constance Chen Date: Thu, 12 May 2022 12:43:15 -0700 Subject: [PATCH] [optional/misc] Remove `style` prop - it's covered by `...rest` and doesn't seem necessary to explicitly document --- src/components/tour/tour_step.tsx | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/components/tour/tour_step.tsx b/src/components/tour/tour_step.tsx index b32e9a9c940..d6b38fa8017 100644 --- a/src/components/tour/tour_step.tsx +++ b/src/components/tour/tour_step.tsx @@ -99,11 +99,6 @@ export type EuiTourStepProps = CommonProps & */ stepsTotal: number; - /** - * Optional, standard DOM `style` attribute. Passed to the EuiPopover panel. - */ - style?: CSSProperties; - /** * Smaller title text that appears atop each step in the tour. The subtitle gets wrapped in the appropriate heading level. */ @@ -138,7 +133,6 @@ export const EuiTourStep: FunctionComponent = ({ onFinish, step = 1, stepsTotal, - style, subtitle, title, decoration = 'beacon', @@ -238,7 +232,6 @@ export const EuiTourStep: FunctionComponent = ({ isOpen: isStepOpen, ownFocus: false, panelClassName: classes, - panelStyle: style, offset: hasBeacon ? 10 : 0, 'aria-labelledby': titleId, arrowChildren: hasBeacon && ,