From 8fa7dc63ece4e7ef220a8e279be1eab7d12aa1cd Mon Sep 17 00:00:00 2001 From: atp Date: Tue, 9 Oct 2018 23:43:42 +0530 Subject: [PATCH] [add] TextInput support for 'caretColor' CSS property Close #1127 --- .../src/exports/TextInput/TextInputStylePropTypes.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/react-native-web/src/exports/TextInput/TextInputStylePropTypes.js b/packages/react-native-web/src/exports/TextInput/TextInputStylePropTypes.js index 1d16e2f8..28e58f8b 100644 --- a/packages/react-native-web/src/exports/TextInput/TextInputStylePropTypes.js +++ b/packages/react-native-web/src/exports/TextInput/TextInputStylePropTypes.js @@ -7,12 +7,14 @@ * @flow */ +import ColorPropType from '../ColorPropType'; import TextStylePropTypes from '../Text/TextStylePropTypes'; import { oneOf } from 'prop-types'; const TextInputStylePropTypes = { ...TextStylePropTypes, /* @platform web */ + caretColor: ColorPropType, resize: oneOf(['none', 'vertical', 'horizontal', 'both']) };