deskripsi: - new component : Center - fix component : Button > disable props - feture : fix portofolio > edit, edit logo, edit sosmed - fix feature : maps > edit map, custom-pin - fix featue : profile > update photo # No Issue
37 lines
996 B
TypeScript
37 lines
996 B
TypeScript
import {
|
|
BoxButtonOnFooter,
|
|
ButtonCustom,
|
|
TextInputCustom,
|
|
ViewWrapper,
|
|
} from "@/components";
|
|
import { useLocalSearchParams, router } from "expo-router";
|
|
|
|
export default function PortofolioEditSocialMedia() {
|
|
const { id } = useLocalSearchParams();
|
|
|
|
const buttonFooter = (
|
|
<BoxButtonOnFooter>
|
|
<ButtonCustom
|
|
onPress={() => {
|
|
console.log(`Simpan sosmed ${id}`);
|
|
router.back();
|
|
}}
|
|
>
|
|
Simpan
|
|
</ButtonCustom>
|
|
</BoxButtonOnFooter>
|
|
);
|
|
|
|
return (
|
|
<>
|
|
<ViewWrapper footerComponent={buttonFooter}>
|
|
<TextInputCustom label="Tiktok" placeholder="Masukkan tiktok" />
|
|
<TextInputCustom label="Instagram" placeholder="Masukkan instagram" />
|
|
<TextInputCustom label="Facebook" placeholder="Masukkan facebook" />
|
|
<TextInputCustom label="Twitter" placeholder="Masukkan twitter" />
|
|
<TextInputCustom label="Youtube" placeholder="Masukkan youtube" />
|
|
</ViewWrapper>
|
|
</>
|
|
);
|
|
}
|