19 lines
335 B
TypeScript
19 lines
335 B
TypeScript
import React, { FC } from "react";
|
|
import { Text } from "react-native";
|
|
type props = {
|
|
infogram: string;
|
|
}
|
|
export const InfogramText: FC<props> = ({infogram}) => {
|
|
return (
|
|
<Text
|
|
style={{
|
|
fontSize: 20,
|
|
color: "white",
|
|
fontFamily: "JNR-font",
|
|
}}
|
|
>
|
|
{infogram}
|
|
</Text>
|
|
);
|
|
};
|