Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions MessageBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ class MessageBar extends Component {
/*
* Set the animation transformation depending on the chosen animationType, or depending on the state's position if animationType is not overridden
*/
_apllyAnimationTypeTransformation() {
_applyAnimationTypeTransformation() {
let position = this.state.position;
let animationType = this.state.animationType;

Expand Down Expand Up @@ -358,7 +358,7 @@ class MessageBar extends Component {

render() {
// Set the animation transformation depending on the chosen animationType, or depending on the state's position if animationType is not overridden
this._apllyAnimationTypeTransformation();
this._applyAnimationTypeTransformation();

return (
<Animated.View style={{ transform: this.animationTypeTransform, backgroundColor: this.state.backgroundColor, borderColor: this.state.strokeColor, borderBottomWidth: 1, position: 'absolute', top: this.state.viewTopOffset, bottom: this.state.viewBottomOffset, left: this.state.viewLeftOffset, right: this.state.viewRightOffset, paddingTop: this.state.viewTopInset, paddingBottom: this.state.viewBottomInset, paddingLeft: this.state.viewLeftInset, paddingRight: this.state.viewRightInset }}>
Expand Down