Fix animated fab position
This commit is contained in:
parent
df8f1cab24
commit
74f757ce66
1 changed files with 8 additions and 9 deletions
|
@ -77,15 +77,14 @@ export default class AnimatedFAB extends React.Component<PropsType> {
|
||||||
render() {
|
render() {
|
||||||
const {props} = this;
|
const {props} = this;
|
||||||
return (
|
return (
|
||||||
<Animatable.View ref={this.ref} useNativeDriver={true}>
|
<Animatable.View
|
||||||
<FAB
|
ref={this.ref}
|
||||||
icon={props.icon}
|
useNativeDriver={true}
|
||||||
onPress={props.onPress}
|
style={{
|
||||||
style={{
|
...styles.fab,
|
||||||
...styles.fab,
|
bottom: CustomTabBar.TAB_BAR_HEIGHT,
|
||||||
bottom: CustomTabBar.TAB_BAR_HEIGHT,
|
}}>
|
||||||
}}
|
<FAB icon={props.icon} onPress={props.onPress} />
|
||||||
/>
|
|
||||||
</Animatable.View>
|
</Animatable.View>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue