From bf20bc3306d44249fdc30b495a8b718e48d9b4d5 Mon Sep 17 00:00:00 2001 From: anperederi Date: Fri, 8 Mar 2024 09:49:36 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5=20Update=20code?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/JokeDetail.tsx | 66 ++--------------------------------- 1 file changed, 2 insertions(+), 64 deletions(-) diff --git a/src/components/JokeDetail.tsx b/src/components/JokeDetail.tsx index 4cb4a48..9c26b98 100644 --- a/src/components/JokeDetail.tsx +++ b/src/components/JokeDetail.tsx @@ -54,6 +54,7 @@ export default function JokeDetail(props: JokeItemProps) { ); } + const styles = StyleSheet.create({ image : { margin : 5, @@ -150,67 +151,4 @@ const styles = StyleSheet.create({ width : 120, alignItems : 'center' } -}) -// -// const styles = StyleSheet.create({ -// container: { -// marginHorizontal: "5%", -// display: "flex", -// marginBottom:7, -// marginTop:7, -// paddingVertical: 10, -// backgroundColor: indigoColor, -// justifyContent: 'space-between', -// borderRadius: 20, -// height: 500, -// borderColor: whiteColor, -// borderStyle: "solid", -// borderWidth: 1 -// }, -// row: { -// display: "flex", -// flexDirection:"row", -// alignSelf: "flex-end", -// }, -// color: { -// flex: 0, -// backgroundColor: darksalmonColor, -// height: 150, -// width:15, -// }, -// image: { -// width: '90%', -// alignSelf: "center", -// marginTop: 10, -// borderRadius: 5, -// // height: 500, -// backgroundColor: "red", -// flex: 1 -// }, -// columnContainer: { -// flexDirection: "column", -// marginLeft: 20, -// marginRight: 20, -// width: '60%', -// flex: 2, -// justifyContent: 'space-between', -// }, -// text: { -// color:greyColor, -// paddingBottom: 7, -// paddingTop: 7, -// marginLeft: 19, -// fontSize: 16, -// }, -// bottomContainer: { -// backgroundColor: whiteColor, -// paddingVertical: 5, -// paddingHorizontal: 10, -// margin: 10, -// marginLeft: 19, -// marginTop: 20, -// borderRadius: 20, -// width : 120, -// alignItems : 'center' -// } -// }); \ No newline at end of file +}) \ No newline at end of file