Skip to content

Commit

Permalink
[feat] build component placeholders for CaseScreen.
Browse files Browse the repository at this point in the history
  • Loading branch information
ronniebeggs committed Oct 21, 2023
1 parent 538c7ea commit 8a2919f
Show file tree
Hide file tree
Showing 7 changed files with 60 additions and 13 deletions.
10 changes: 10 additions & 0 deletions src/Components/CaseStatusBar/CaseStatusBar.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import React from 'react';
import { View, Text } from 'react-native';

export default function CaseStatusBar() {
return (
<View>
<Text>CaseStatusBar</Text>
</View>
);
}
10 changes: 10 additions & 0 deletions src/Components/CaseSummaryCard/CaseSummarCard.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import React from 'react';
import { View, Text } from 'react-native';

export default function CaseSummaryCard() {
return (
<View>
<Text>CaseSummaryCard</Text>
</View>
);
}
10 changes: 10 additions & 0 deletions src/Components/EducationalBar/EducationalBar.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import React from 'react';
import { View, Text } from 'react-native';

export default function EducationalBar() {
return (
<View>
<Text>EducationalBar</Text>
</View>
);
}
10 changes: 10 additions & 0 deletions src/Components/EligibilityCard/EligibilityCard.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import React from 'react';
import { View, Text } from 'react-native';

export default function EligibilityCard() {
return (
<View>
<Text>EligibilityCard</Text>
</View>
);
}
10 changes: 10 additions & 0 deletions src/Components/FormsCard/FormsCard.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import React from 'react';
import { View, Text } from 'react-native';

export default function FormsCard() {
return (
<View>
<Text>FormsCard</Text>
</View>
);
}
10 changes: 10 additions & 0 deletions src/app/(BottomTabNavigation)/Cases/CaseScreen/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ import React from 'react';
import { View, Text, TouchableOpacity } from 'react-native';

import styles from './styles';
import CaseStatusBar from '../../../../Components/CaseStatusBar/CaseStatusBar';
import CaseSummaryCard from '../../../../Components/CaseSummaryCard/CaseSummarCard';
import EducationalBar from '../../../../Components/EducationalBar/EducationalBar';
import EligibilityCard from '../../../../Components/EligibilityCard/EligibilityCard';
import FormsCard from '../../../../Components/FormsCard/FormsCard';
import { Case } from '../../../../types/types';

function CasesScreen() {
Expand All @@ -17,6 +22,11 @@ function CasesScreen() {
<Text>Go Back</Text>
</TouchableOpacity>
</View>
<CaseStatusBar />
<CaseSummaryCard />
<EligibilityCard />
<FormsCard />
<EducationalBar />
</View>
);
}
Expand Down
13 changes: 0 additions & 13 deletions src/app/(BottomTabNavigation)/Cases/CaseScreen/styles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,6 @@ export default StyleSheet.create({
width: '100%',
paddingRight: 30,
},
casesContainer: {
flex: 0.8,
flexDirection: 'column',
width: '90%',
},
circle: {
width: 70,
height: 70,
borderRadius: 100 / 2,
backgroundColor: '#a9a9a9',
alignItems: 'center',
justifyContent: 'center',
},
button: {
margin: 10,
alignItems: 'center',
Expand Down

0 comments on commit 8a2919f

Please sign in to comment.