Skip to content

Commit ba4adbb

Browse files
committed
🩹 chore: 예시 코드 컴포넌트명 수정
1 parent 35f19f2 commit ba4adbb

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

docs/pages/docs/hooks/useKeyCombination.mdx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ _없음_
3333

3434
## Examples
3535

36-
```tsx copy
36+
```tsx copy filename="TestComponent.tsx"
3737
import { useCallback, useRef, useState } from 'react';
3838
import useKeyCombination from './hooks/useKeyCombination';
3939

40-
function App() {
40+
function TestComponent() {
4141
const [bold, setBold] = useState(false);
4242
const [isSave, setIsSave] = useState(false);
4343
const input = useRef<HTMLInputElement>(null);
@@ -77,6 +77,4 @@ function App() {
7777
</div>
7878
);
7979
}
80-
81-
export default App;
8280
```

0 commit comments

Comments
 (0)