Skip to content

Commit 4233746

Browse files
committed
fix(stepper-animations): change change event args types
1 parent bd99595 commit 4233746

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

  • samples/layouts/stepper/animations/src

samples/layouts/stepper/animations/src/index.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import ReactDOM from 'react-dom/client';
33
import './index.css';
44
import {
55
IgrStepper, IgrStep, IgrStepperModule, IgrRadio, IgrRadioGroup, IgrRadioModule, IgrRadioGroupModule,
6-
IgrButton, IgrButtonModule, IgrInput, IgrInputModule, IgrSelect, IgrSelectItem, IgrSelectModule, IgrDropdown,
7-
IgrDropdownItemComponentEventArgs, IgrComponentValueChangedEventArgs
6+
IgrButton, IgrButtonModule, IgrInput, IgrInputModule, IgrSelect, IgrSelectItem, IgrSelectModule,
7+
IgrSelectItemComponentEventArgs, IgrComponentValueChangedEventArgs
88
} from 'igniteui-react';
99
import 'igniteui-webcomponents/themes/light/bootstrap.css';
1010

@@ -93,15 +93,15 @@ export default class StepperAnimations extends React.Component<any, any> {
9393
);
9494
}
9595

96-
public orientationChange(s: IgrDropdown, e: IgrDropdownItemComponentEventArgs){
96+
public orientationChange(s: IgrSelect, e: IgrSelectItemComponentEventArgs){
9797
const selectedValue = e.detail.value;
9898
this.setState({orientation: selectedValue});
9999
}
100-
public horizontalAnimationChange(s: IgrDropdown, e: IgrDropdownItemComponentEventArgs){
100+
public horizontalAnimationChange(s: IgrSelect, e: IgrSelectItemComponentEventArgs){
101101
const selectedValue = e.detail.value;
102102
this.setState({horizontalAnimation: selectedValue});
103103
}
104-
public verticalAnimationChange(s: IgrDropdown, e: IgrDropdownItemComponentEventArgs){
104+
public verticalAnimationChange(s: IgrSelect, e: IgrSelectItemComponentEventArgs){
105105
const selectedValue = e.detail.value;
106106
this.setState({verticalAnimation: selectedValue});
107107
}

0 commit comments

Comments
 (0)