From f2a0545f48d71600ea021c502132cb8905d4c88f Mon Sep 17 00:00:00 2001 From: Adolfo Reyna Date: Fri, 10 Mar 2023 19:41:37 -0600 Subject: [PATCH] Same --- components/CourseCard.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/components/CourseCard.js b/components/CourseCard.js index 0a19f80..4d0ffd9 100644 --- a/components/CourseCard.js +++ b/components/CourseCard.js @@ -27,7 +27,7 @@ const getName = async (key) => { } } -let CourseCard = ({ profileid, hideIcon, profileObj }) => { +let CourseCard = ({ profileid, hideIcon, profileObj, twoCols }) => { let [profile, setProfile] = useState(profileObj || {}); const navigation = useNavigation(); @@ -57,7 +57,7 @@ let CourseCard = ({ profileid, hideIcon, profileObj }) => { } return ( - + <Text style={{ paddingTop: 10 }}> @@ -104,6 +104,10 @@ const styles = StyleSheet.create({ margin: 4, width: 250, }, + contentCols: { + margin: 4, + width: "48%", + }, centerItems: { justifyContent: 'center', alignItems: 'center',