mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Fine tune compose
This commit is contained in:
@ -10,7 +10,7 @@ import {
|
||||
import { useSafeAreaInsets } from 'react-native-safe-area-context'
|
||||
import { useTheme } from 'src/utils/styles/ThemeManager'
|
||||
import { StyleConstants } from 'src/utils/styles/constants'
|
||||
import Button from './Button'
|
||||
import { ButtonRow } from './Button'
|
||||
|
||||
export interface Props {
|
||||
children: React.ReactNode
|
||||
@ -84,7 +84,7 @@ const BottomSheet: React.FC<Props> = ({ children, visible, handleDismiss }) => {
|
||||
style={[styles.handle, { backgroundColor: theme.background }]}
|
||||
/>
|
||||
{children}
|
||||
<Button
|
||||
<ButtonRow
|
||||
onPress={() => closeModal.start(() => handleDismiss())}
|
||||
text='取消'
|
||||
/>
|
||||
|
Reference in New Issue
Block a user