diff --git a/packages/react/__tests__/__snapshots__/PublicAPI-test.js.snap b/packages/react/__tests__/__snapshots__/PublicAPI-test.js.snap
index 12a125a179c8..237e695220c2 100644
--- a/packages/react/__tests__/__snapshots__/PublicAPI-test.js.snap
+++ b/packages/react/__tests__/__snapshots__/PublicAPI-test.js.snap
@@ -7835,6 +7835,9 @@ Map {
"disabled": Object {
"type": "bool",
},
+ "enableCounter": Object {
+ "type": "bool",
+ },
"helperText": Object {
"type": "node",
},
@@ -7861,6 +7864,9 @@ Map {
"light": Object {
"type": "bool",
},
+ "maxCount": Object {
+ "type": "number",
+ },
"onChange": Object {
"type": "func",
},
diff --git a/packages/react/src/components/TextArea/TextArea-test.js b/packages/react/src/components/TextArea/TextArea-test.js
index 690b5e1de027..ca7a55450071 100644
--- a/packages/react/src/components/TextArea/TextArea-test.js
+++ b/packages/react/src/components/TextArea/TextArea-test.js
@@ -136,13 +136,13 @@ describe('TextArea', () => {
);
- it('should not render element without only enableCounter prop passed in', () => {
+ it('should not render counter with only enableCounter prop passed in', () => {
expect(
counterTestWrapper1.exists(`${prefix}--text-area__counter`)
).toEqual(false);
});
- it('should not render element without only maxCount prop passed in', () => {
+ it('should not render counter with only maxCount prop passed in', () => {
expect(
counterTestWrapper2.exists(`${prefix}--text-area__counter`)
).toEqual(false);
diff --git a/packages/react/src/components/TextArea/next/TextArea.stories.js b/packages/react/src/components/TextArea/next/TextArea.stories.js
index b2da679c13b8..32b5f9ccafec 100644
--- a/packages/react/src/components/TextArea/next/TextArea.stories.js
+++ b/packages/react/src/components/TextArea/next/TextArea.stories.js
@@ -60,3 +60,11 @@ export const WithLayer = () => {
};
export const Skeleton = () =>