// Copyright (c) 2025 Joseph Hale // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at https://mozilla.org/MPL/2.0/. import { StyleSheet, View } from 'react-native'; import { Text, Button, Row } from 'react-native-expressive'; export default function Buttons() { const modes = ['text', 'contained', 'outlined', 'tonal', 'elevated'] as const; return ( Mode Normal Danger {modes.map((mode) => ( {mode} ))} ); } const styles = StyleSheet.create({ container: { flex: 1 }, header: { flexDirection: 'row', marginVertical: 8 }, mode: { flex: 1, textAlign: 'left' }, intent: { flex: 2, textAlign: 'center' }, button: { flex: 1 }, });