16 lines
377 B
TypeScript
16 lines
377 B
TypeScript
import DrugList from "@/components/DrugList";
|
|
import { Dimensions, Text, View } from "react-native";
|
|
import { useTheme } from "react-native-paper";
|
|
|
|
|
|
export default function Index() {
|
|
const theme = useTheme();
|
|
|
|
return (
|
|
<View style={{width: "100%", backgroundColor:theme.colors.surface, height: Dimensions.get('window').height}}>
|
|
<DrugList />
|
|
</View>
|
|
);
|
|
}
|
|
|