Fix animated fab position
This commit is contained in:
父節點
df8f1cab24
當前提交
74f757ce66
共有 1 個文件被更改,包括 8 次插入 和 9 次删除
|
@ -77,15 +77,14 @@ export default class AnimatedFAB extends React.Component<PropsType> {
|
|||
render() {
|
||||
const {props} = this;
|
||||
return (
|
||||
<Animatable.View ref={this.ref} useNativeDriver={true}>
|
||||
<FAB
|
||||
icon={props.icon}
|
||||
onPress={props.onPress}
|
||||
style={{
|
||||
...styles.fab,
|
||||
bottom: CustomTabBar.TAB_BAR_HEIGHT,
|
||||
}}
|
||||
/>
|
||||
<Animatable.View
|
||||
ref={this.ref}
|
||||
useNativeDriver={true}
|
||||
style={{
|
||||
...styles.fab,
|
||||
bottom: CustomTabBar.TAB_BAR_HEIGHT,
|
||||
}}>
|
||||
<FAB icon={props.icon} onPress={props.onPress} />
|
||||
</Animatable.View>
|
||||
);
|
||||
}
|
||||
|
|
載入中…
Reference in a new issue