Add Search/Tags screen bases
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -2,15 +2,11 @@ import React from 'react';
|
||||
|
||||
import { Text } from 'react-native-paper';
|
||||
import { PaddedView } from '../components';
|
||||
import { useSettings } from '../contexts';
|
||||
|
||||
const Home = () => {
|
||||
const { settings } = useSettings();
|
||||
|
||||
return (
|
||||
<PaddedView centered>
|
||||
<Text>Home</Text>
|
||||
<Text>Settings: {JSON.stringify(settings)}</Text>
|
||||
</PaddedView>
|
||||
);
|
||||
};
|
||||
|
@@ -1,2 +1,4 @@
|
||||
export { default as Home } from './home';
|
||||
export { default as Search } from './search';
|
||||
export { default as Tags } from './tags';
|
||||
export { default as Settings } from './settings';
|
||||
|
14
src/screens/search.tsx
Normal file
14
src/screens/search.tsx
Normal file
@@ -0,0 +1,14 @@
|
||||
import React from 'react';
|
||||
|
||||
import { Text } from 'react-native-paper';
|
||||
import { PaddedView } from '../components';
|
||||
|
||||
const Search = () => {
|
||||
return (
|
||||
<PaddedView centered>
|
||||
<Text>Search</Text>
|
||||
</PaddedView>
|
||||
);
|
||||
};
|
||||
|
||||
export default Search;
|
14
src/screens/tags.tsx
Normal file
14
src/screens/tags.tsx
Normal file
@@ -0,0 +1,14 @@
|
||||
import React from 'react';
|
||||
|
||||
import { Text } from 'react-native-paper';
|
||||
import { PaddedView } from '../components';
|
||||
|
||||
const Tags = () => {
|
||||
return (
|
||||
<PaddedView centered>
|
||||
<Text>Tags</Text>
|
||||
</PaddedView>
|
||||
);
|
||||
};
|
||||
|
||||
export default Tags;
|
Reference in New Issue
Block a user