Added delete functionality, and navigate to go back to previous page after module deletion

This commit is contained in:
bobbert committed 2025-12-04 13:08:57 +00:00
1 parent 8164fab184
commit 3ad1ef5c32
3 files changed
+23 -10

No files matched your search

+11 -8
View File
@@ -1,15 +1,18 @@
import {MaterialIcons} from '@expo/vector-icons'
import {MaterialIcons} from '@expo/vector-icons';
const Icons = {};
const Edit = () => <MaterialIcons name='edit' size={16}/>;
const Delete = () => <MaterialIcons name='delete' size={16}/>;
const Add = () => <MaterialIcons name='add' size={16}/>;
const Close = () => <MaterialIcons name='close' size={16}/>;
const Delete = () => <MaterialIcons name='delete' size={16}/>;
const Edit = () => <MaterialIcons name='edit' size={16}/>;
const Submit = () => <MaterialIcons name='check' size={16}/>;
//compose
Icons.Edit = Edit;
Icons.Delete = Delete;
// Compose
Icons.Add = Add;
Icons.Close = Close;
Icons.Delete = Delete;
Icons.Edit = Edit;
Icons.Submit = Submit;
export default Icons;
export default Icons;