aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'packages/instant/src/components')
-rw-r--r--packages/instant/src/components/animations/slide_up_and_down_animation.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/instant/src/components/animations/slide_up_and_down_animation.tsx b/packages/instant/src/components/animations/slide_up_and_down_animation.tsx
index 05dda78be..ce38e28b9 100644
--- a/packages/instant/src/components/animations/slide_up_and_down_animation.tsx
+++ b/packages/instant/src/components/animations/slide_up_and_down_animation.tsx
@@ -90,9 +90,9 @@ export class SlideUpAndDownAnimation extends React.Component<SlideUpAndDownAnima
window.clearTimeout(this._timeoutId);
}
}
- private readonly _renderSlide = (): React.ReactNode => {
+ private _renderSlide(): React.ReactNode {
const SlideComponent = this.state.slideState === 'up' ? SlideUpAnimationComponent : SlideDownAnimationComponent;
return <SlideComponent downY={this.props.downY}>{this.props.children}</SlideComponent>;
- };
+ }
}