From 8b36f19443a1e6e176933e4359e181d36cc36c23 Mon Sep 17 00:00:00 2001 From: G Date: Mon, 1 Jul 2024 12:36:25 +0000 Subject: [PATCH] Input component --- src/components/Input.tsx | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/components/Input.tsx diff --git a/src/components/Input.tsx b/src/components/Input.tsx new file mode 100644 index 0000000..7ce7e0c --- /dev/null +++ b/src/components/Input.tsx @@ -0,0 +1,19 @@ +import type { VariantProps } from "@shopify/restyle"; +import type { Theme } from "@themes/Theme"; +import type { TextInputProps } from "react-native"; +import { TextInput } from "react-native"; +import Box from "./bases/Box"; + +type Props = TextInputProps & VariantProps; + +const Input = ({ textVariants, ...rest }: Props) => { + return ( + + + + + + ); +}; + +export default Input; -- libgit2 0.27.1