Skip to content

Commit 8fa7dc6

Browse files
pruthvipnecolas
authored andcommitted
[add] TextInput support for 'caretColor' CSS property
Close #1127
1 parent d841db2 commit 8fa7dc6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/react-native-web/src/exports/TextInput/TextInputStylePropTypes.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,14 @@
77
* @flow
88
*/
99

10+
import ColorPropType from '../ColorPropType';
1011
import TextStylePropTypes from '../Text/TextStylePropTypes';
1112
import { oneOf } from 'prop-types';
1213

1314
const TextInputStylePropTypes = {
1415
...TextStylePropTypes,
1516
/* @platform web */
17+
caretColor: ColorPropType,
1618
resize: oneOf(['none', 'vertical', 'horizontal', 'both'])
1719
};
1820

0 commit comments

Comments
 (0)