mirror of https://gitlab.com/ceda_ei/sonzai.git
19 lines
349 B
JavaScript
19 lines
349 B
JavaScript
|
import React from "react";
|
||
|
import PropTypes from "prop-types";
|
||
|
import {
|
||
|
IconButton,
|
||
|
} from "react-native-paper";
|
||
|
|
||
|
function AddEntry({navigation}) {
|
||
|
return (<>
|
||
|
<IconButton icon="arrow-left" onPress={() => navigation.pop()}/>
|
||
|
</>);
|
||
|
}
|
||
|
|
||
|
AddEntry.propTypes = {
|
||
|
subjects: PropTypes.array,
|
||
|
navigation: PropTypes.object,
|
||
|
};
|
||
|
|
||
|
export default AddEntry;
|