Skip to content

Commit c8cb2ec

Browse files
committed
Revert "Incubator.TextField - Fix testID from required to optional prop in subcomponents"
This reverts commit 7f45b0d.
1 parent 7f45b0d commit c8cb2ec

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/incubator/TextField/CharCounter.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export interface CharCounterProps {
1414
* Pass custom style to character counter text
1515
*/
1616
charCounterStyle?: TextStyle;
17-
testID?: string;
17+
testID: string;
1818
}
1919

2020
const CharCounter = ({maxLength, charCounterStyle, testID}: CharCounterProps) => {

src/incubator/TextField/FloatingPlaceholder.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export interface FloatingPlaceholderProps {
2727
floatOnFocus?: boolean;
2828
validationMessagePosition?: ValidationMessagePosition;
2929
extraOffset?: number;
30-
testID?: string;
30+
testID: string;
3131
}
3232

3333
const FLOATING_PLACEHOLDER_SCALE = 0.875;

0 commit comments

Comments
 (0)