Skip to content

Commit 9efd8af

Browse files
committed
Fix sample file name
Refs: #7162
1 parent e7cc54c commit 9efd8af

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Routes } from '../../shares/types';
22
import { TextareaAdjustHeight } from './adjust-height';
33
import { TextareaBasic } from './basic';
4-
import { TextareaCounter } from './counter';
4+
import { TextareaWithCounter } from './with-counter';
55
import { TextareaResize } from './resize';
66
import { TextareaRows } from './rows';
77

@@ -11,6 +11,6 @@ export const TEXTAREA_ROUTES: Routes = {
1111
'adjust-height': TextareaAdjustHeight,
1212
resize: TextareaResize,
1313
rows: TextareaRows,
14-
'with-counter': TextareaCounter,
14+
'with-counter': TextareaWithCounter,
1515
},
1616
};

packages/samples/react/src/components/textarea/counter.tsx renamed to packages/samples/react/src/components/textarea/with-counter.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import React from 'react';
44
import { KolTextarea } from '@public-ui/react';
55
import { SampleDescription } from '../SampleDescription';
66

7-
export const TextareaCounter: FC = () => (
7+
export const TextareaWithCounter: FC = () => (
88
<>
99
<SampleDescription>
1010
<p>

0 commit comments

Comments
 (0)