Files
streamyfin_mirror/components/common/Text.tsx
2024-10-08 19:53:48 +02:00

20 lines
382 B
TypeScript

import React from "react";
import { TextProps } from "react-native";
import { UITextView } from "react-native-uitextview";
export function Text(
props: TextProps & {
uiTextView?: boolean;
}
) {
const { style, ...otherProps } = props;
return (
<UITextView
allowFontScaling={false}
style={[{ color: "white" }, style]}
{...otherProps}
/>
);
}