import React from 'react'; import { Platform, TouchableOpacity } from 'react-native'; import { Icon, createStyleSheet, useUIKitTheme } from '@sendbird/uikit-react-native-foundation'; type Props = { visible: boolean; onPress: () => void; }; const ScrollToBottomButton = ({ visible, onPress }: Props) => { const { palette, select } = useUIKitTheme(); if (!visible) return null; return ( ); }; const styles = createStyleSheet({ container: { padding: 8, borderRadius: 24, ...Platform.select({ android: { elevation: 4, }, ios: { shadowColor: 'black', shadowRadius: 4, shadowOffset: { width: 0, height: 4 }, shadowOpacity: 0.3, }, }), }, }); export default React.memo(ScrollToBottomButton);