Files
ppc_amnet/amnet-native/components/EmptyStatePlaceholder.tsx
T
2024-08-13 16:10:15 +01:00

13 lines
424 B
TypeScript

import {View} from "react-native";
import {Paragraph} from "react-native-paper";
export function EmptyStatePlaceholder(props: { message: string, icon: React.ReactNode }) {
return (
<View style={{display: "flex", gap: 5, alignItems: "center"}}>
{props.icon}
<Paragraph style={{color: "gray", fontSize: 14}}>
{props.message}
</Paragraph>
</View>
)
}