Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Trigger actions with shared sizes, states, and visual variants
Button
Pressable
import { Button, View } from '@amisi-mobile-starter/ui'; export const Actions = () => ( <View className="gap-3"> <Button onPress={() => {}}>Save changes</Button> <Button variant="outline" leftIcon={null} onPress={() => {}}> Preview </Button> <Button variant="destructive" isDisabled onPress={() => {}}> Delete account </Button> </View> );
children
ReactNode
variant
'primary' | 'secondary' | 'outline' | 'ghost' | 'info' | 'success' | 'warning' | 'destructive' | 'link'
'primary'
size
'sm' | 'md' | 'lg'
'md'
isLoading
boolean
false
isDisabled
leftIcon
undefined
className
string
style
StyleProp<ViewStyle>
PressableProps
onPress
Was this page helpful?