Commit 51515b91 authored by Solveig Hergot Langås's avatar Solveig Hergot Langås
Browse files

#14 SearchBox outline

parent 8ca71649
import React, { Component } from 'react';
import { StyleSheet, Text, View, TextInput } from 'react-native';
class SearchBox extends Component {
render(){
const style = {
backgroundColor: '#EEEEEE',
margin: 20,
borderRadius: 10,
padding: 3
}
return(
<TextInput style = {style}> </TextInput>
);
}
}
export default SearchBox;
\ No newline at end of file
import React, { Component } from 'react';
import { StyleSheet, Text, View } from 'react-native';
import SearchBox from '../components/SearchBox'
class ExplorePage extends Component {
render(){
return(
<View>
<Text> ExplorePage </Text>
<SearchBox />
</View>
)
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment