File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
packages/react-core/src/components/SimpleList Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,6 @@ export interface SimpleListItemProps {
1818 componentProps ?: any ;
1919 /** Indicates if the link is current/highlighted */
2020 isActive ?: boolean ;
21- /** @deprecated please use isActive instead */
22- isCurrent ?: boolean ;
2321 /** OnClick callback for the SimpleList item */
2422 onClick ?: ( event : React . MouseEvent | React . ChangeEvent ) => void ;
2523 /** Type of button SimpleList item */
@@ -35,7 +33,6 @@ export class SimpleListItem extends React.Component<SimpleListItemProps> {
3533 children : null ,
3634 className : '' ,
3735 isActive : false ,
38- isCurrent : false ,
3936 component : 'button' ,
4037 componentClassName : '' ,
4138 type : 'button' ,
@@ -46,7 +43,6 @@ export class SimpleListItem extends React.Component<SimpleListItemProps> {
4643 render ( ) {
4744 const {
4845 children,
49- isCurrent,
5046 isActive,
5147 className,
5248 component : Component ,
@@ -64,7 +60,7 @@ export class SimpleListItem extends React.Component<SimpleListItemProps> {
6460 { ( { currentRef, updateCurrentRef, isControlled } ) => {
6561 const isButton = Component === 'button' ;
6662 const isCurrentItem =
67- this . ref && currentRef && isControlled ? currentRef . current === this . ref . current : isActive || isCurrent ;
63+ this . ref && currentRef && isControlled ? currentRef . current === this . ref . current : isActive ;
6864
6965 const additionalComponentProps = isButton
7066 ? {
You can’t perform that action at this time.
0 commit comments