Skip to content

Commit 34556b5

Browse files
committed
fix: revert prop typo fix
1 parent ff0d05a commit 34556b5

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

example/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ export default function App() {
227227
placeholderTextColor="blue"
228228
selectionColor="red"
229229
cursorColor="yellow"
230-
autoCapitalize="sentences"
230+
autocapitalize="sentences"
231231
defaultValue={defaultValue}
232232
onChangeText={handleChangeText}
233233
onChangeHtml={handleChangeHtml}

src/EnrichedTextInput.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ export interface EnrichedTextInputProps extends Omit<ViewProps, 'children'> {
127127
placeholderTextColor?: ColorValue;
128128
cursorColor?: ColorValue;
129129
selectionColor?: ColorValue;
130-
autoCapitalize?: 'none' | 'sentences' | 'words' | 'characters';
130+
autocapitalize?: 'none' | 'sentences' | 'words' | 'characters';
131131
htmlStyle?: HtmlStyle;
132132
style?: ViewStyle | TextStyle;
133133
onFocus?: () => void;
@@ -170,7 +170,7 @@ export const EnrichedTextInput = ({
170170
cursorColor,
171171
selectionColor,
172172
style,
173-
autoCapitalize = 'sentences',
173+
autocapitalize = 'sentences',
174174
htmlStyle = {},
175175
onFocus,
176176
onBlur,
@@ -328,7 +328,7 @@ export const EnrichedTextInput = ({
328328
cursorColor={cursorColor}
329329
selectionColor={selectionColor}
330330
style={style}
331-
autoCapitalize={autoCapitalize}
331+
autoCapitalize={autocapitalize}
332332
htmlStyle={normalizedHtmlStyle}
333333
onInputFocus={onFocus}
334334
onInputBlur={onBlur}

0 commit comments

Comments
 (0)