import { View } from 'react-native'
import { Button, Subheading } from 'react-native-paper'
import { ITEM_PADDING } from './constants'
export default function SettingButton(
{ name: text, label, onPress }: {
name: string
label?: string
onPress: () => void
},
) {
if (label) {
return (
{label}
)
}
return (
)
}