Skip to content

Commit

Permalink
[optional/misc] Remove style prop - it's covered by ...rest and d…
Browse files Browse the repository at this point in the history
…oesn't seem necessary to explicitly document
  • Loading branch information
cee-chen committed May 12, 2022
1 parent 967cb48 commit e121e98
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/components/tour/tour_step.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down Expand Up @@ -138,7 +133,6 @@ export const EuiTourStep: FunctionComponent<EuiTourStepProps> = ({
onFinish,
step = 1,
stepsTotal,
style,
subtitle,
title,
decoration = 'beacon',
Expand Down Expand Up @@ -238,7 +232,6 @@ export const EuiTourStep: FunctionComponent<EuiTourStepProps> = ({
isOpen: isStepOpen,
ownFocus: false,
panelClassName: classes,
panelStyle: style,
offset: hasBeacon ? 10 : 0,
'aria-labelledby': titleId,
arrowChildren: hasBeacon && <EuiBeacon className="euiTour__beacon" />,
Expand Down

0 comments on commit e121e98

Please sign in to comment.