import React from 'react'; import { StyleSheet, View } from 'react-native'; import { ThemedButton, getTheme } from 'react-native-really-awesome-button'; import { AntDesign } from '@expo/vector-icons'; import Container from './Container'; import Section from './Section'; import Character from './Character'; export default function Example({ index }: any) { const theme = getTheme(index); const handleTimeout = (next: any) => setTimeout(next, 500); return ( <>
Primary Secondary Anchor Danger Disabled
Primary Secondary Anchor Danger
Primary Secondary Anchor Danger
} > Button Icon } type="anchor" size="medium" > Button Icon } > Button Icon
Primary Auto Secondary Small Auto Anchor Large Auto Primary Large Stretch
); } const styles = StyleSheet.create({ button: { marginTop: 8, marginBottom: 8, }, text: { fontWeight: 'bold', color: 'white', }, iconLeft: { marginRight: 5 }, iconRight: { marginLeft: 5 }, gradient: { ...StyleSheet.absoluteFillObject, }, });