Improve Slideshow and adding sharing and reposting images

This commit is contained in:
Adolfo Reyna
2024-10-04 22:52:40 -04:00
parent 1d2565bd5f
commit 87d8b9cbfd
4 changed files with 172 additions and 37 deletions

View File

@@ -11,7 +11,8 @@ import Media from '../components/Media';
let NewPostView = (props) => {
let [postContent, setPostContent] = useState('');
let [extraContent, setExtraContent] = useState([]);
let initialContent = props.route.params.intialContent;
let [extraContent, setExtraContent] = useState([initialContent]);
let [toProfile, setToProfile] = useState([]);
const [photo, setPhoto] = React.useState(null);
const navigation = useNavigation();