mirror of
https://github.com/streamyfin/streamyfin.git
synced 2025-08-20 18:37:18 +02:00
16 lines
426 B
TypeScript
16 lines
426 B
TypeScript
import React from "react";
|
|
import { TextInputProps, TextProps } from "react-native";
|
|
import { TextInput } from "react-native";
|
|
export function Input(props: TextInputProps) {
|
|
const { style, ...otherProps } = props;
|
|
|
|
return (
|
|
<TextInput
|
|
className="p-4 border border-neutral-800 rounded-xl bg-neutral-900"
|
|
allowFontScaling={false}
|
|
style={[{ color: "white" }, style]}
|
|
{...otherProps}
|
|
/>
|
|
);
|
|
}
|