import React from 'react'; import { View, StyleSheet } from 'react-native'; import { Button, useTheme } from '@rneui/themed'; import Icon from 'react-native-vector-icons/MaterialCommunityIcons'; interface BottomActionBarProps { onRun: () => void; onSave: () => void; onUndo: () => void; onRestore: () => void; onBack: () => void; isSaveDisabled?: boolean; } const BottomActionBar: React.FC = ({ onRun, onSave, onUndo, onRestore, onBack, isSaveDisabled = true, }) => { const { theme } = useTheme(); return (