Categoris (wip)
This commit is contained in:
29
src/components/Categories.js
Normal file
29
src/components/Categories.js
Normal file
@@ -0,0 +1,29 @@
|
||||
import React from 'react';
|
||||
import { View } from 'react-native';
|
||||
import ApplicationHeader from './ApplicationHeader';
|
||||
import CategoryItem from './CategoryItem';
|
||||
|
||||
const Categories = () => {
|
||||
const { categoriesListStyle } = styles;
|
||||
|
||||
return (
|
||||
<View>
|
||||
<ApplicationHeader headerText='MeMe' headerBackgroudColor='#6d6e71' />
|
||||
<View style={categoriesListStyle}>
|
||||
<CategoryItem categoryName='ANATOMIJA' categoryBackgroudColor='#f7bcbc' />
|
||||
<CategoryItem categoryName='LEKCIJE' categoryBackgroudColor='#f4d4d4' />
|
||||
<CategoryItem categoryName='UPITNIK' categoryBackgroudColor='#bcbec0' />
|
||||
<CategoryItem categoryName='REKLA KAZALA' categoryBackgroudColor='#e6e51a' />
|
||||
</View>
|
||||
</View>
|
||||
);
|
||||
};
|
||||
|
||||
const styles = {
|
||||
categoriesListStyle: {
|
||||
flexDirection: 'column',
|
||||
justifyContent: 'center'
|
||||
}
|
||||
};
|
||||
|
||||
export default Categories;
|
||||
Reference in New Issue
Block a user