Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/crutchcorn/react-native-monorepo-example. An example of a Yarn Berry monorepo with workspace and Re
Something went wrong. Try again.
react-native-monorepo-example packages shared-elements src components rounded-text-input rounded-text-input.tsx
1234567891011121314151617181920212223242526import React from "react";import { useTheme } from "../../hooks";import { MessageInput } from "./rounded-text-input.styles";
export interface RoundedTextInputProps { placeholder: string; value: string; onValueChange: (val: string) => void;}
export const RoundedTextInput = ({ placeholder, value, onValueChange,}: RoundedTextInputProps) => { const theme = useTheme(); return ( <MessageInput placeholder={placeholder} placeholderTextColor={theme.foreground_tertiary} value={value} onChangeText={onValueChange} /> );};