mirror of
https://github.com/streamyfin/streamyfin.git
synced 2025-08-20 18:37:18 +02:00
15 lines
342 B
TypeScript
15 lines
342 B
TypeScript
import React from "react";
|
|
import { TextProps } from "react-native";
|
|
import { Text as DefaultText } from "react-native";
|
|
export function Text(props: TextProps) {
|
|
const { style, ...otherProps } = props;
|
|
|
|
return (
|
|
<DefaultText
|
|
allowFontScaling={false}
|
|
style={[{ color: "white" }, style]}
|
|
{...otherProps}
|
|
/>
|
|
);
|
|
}
|