Asset,Alarm,Module Screen is added
This commit is contained in:
21
src/components/Asset/searchbar.tsx
Normal file
21
src/components/Asset/searchbar.tsx
Normal file
@@ -0,0 +1,21 @@
|
||||
import React from "react";
|
||||
import { View, TextInput } from "react-native";
|
||||
import { COLORS } from "../../constants/color";
|
||||
import { styles } from "../../styles/Home/SearchbarStyles";
|
||||
import {SearchBarProps} from "../../types/type"
|
||||
|
||||
|
||||
|
||||
export const SearchBar = ({ value, onChangeText }: SearchBarProps) => {
|
||||
return (
|
||||
<View style={styles.container}>
|
||||
<TextInput
|
||||
style={styles.input}
|
||||
placeholder="Search asset or tag..."
|
||||
placeholderTextColor={COLORS.textSecondary}
|
||||
value={value}
|
||||
onChangeText={onChangeText}
|
||||
/>
|
||||
</View>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user