Skip to content

Commit

Permalink
remove popperprops extension, add beta to keys
Browse files Browse the repository at this point in the history
  • Loading branch information
kmcfaul committed May 9, 2023
1 parent 1d0fa0f commit cd16cbc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/react-core/src/components/Select/Select.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import React from 'react';
import { css } from '@patternfly/react-styles';
import { Menu, MenuContent, MenuProps } from '../Menu';
import { Popper, PopperProps } from '../../helpers/Popper/Popper';
import { Popper } from '../../helpers/Popper/Popper';
import { getOUIAProps, OUIAProps, getDefaultOUIAId } from '../../helpers';

export interface SelectPopperProps extends PopperProps {
export interface SelectPopperProps {
/** Vertical direction of the popper. If enableFlip is set to true, this will set the initial direction before the popper flips. */
direction?: 'up' | 'down';
/** Horizontal position of the popper */
Expand Down Expand Up @@ -43,7 +43,7 @@ export interface SelectProps extends MenuProps, OUIAProps {
/** Callback to allow the select component to change the open state of the menu.
* Triggered by clicking outside of the menu, or by pressing either tab or escape (or specificed in onOpenChangeKeys). */
onOpenChange?: (isOpen: boolean) => void;
/** Keys that trigger onOpenChange, defaults to tab and escape. */
/** @beta Keys that trigger onOpenChange, defaults to tab and escape. */
onOpenChangeKeys?: string[];
/** Indicates if the select should be without the outer box-shadow */
isPlain?: boolean;
Expand Down

0 comments on commit cd16cbc

Please sign in to comment.