Skip to content

Commit 885d49f

Browse files
wo-o29kimyouknow
andauthored
docs(useThrottle): clarify defaultValue initial value description (#275)
Co-authored-by: 김윤호 yunho <kimyouknow@naver.com>
1 parent 8ad1fc7 commit 885d49f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/core/src/hooks/useThrottle/ko/useThrottle.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function useThrottle<F extends (...args: any[]) => any>(
3939
required: false,
4040
defaultValue: '[\'leading\', \'trailing\']',
4141
description:
42-
'함수가 시작점, 끝점 또는 둘 다에서 호출될지 여부를 지정하는 선택적 배열이에요.',
42+
'함수가 시작점, 끝점 또는 둘 다에서 호출될지 여부를 지정하는 선택적 배열이에요. <br />: 초기값은 <code>[\'leading\', \'trailing\']</code>이에요.',
4343
},
4444
]"
4545
/>

packages/core/src/hooks/useThrottle/useThrottle.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function useThrottle<F extends (...args: any[]) => any>(
3939
required: false,
4040
defaultValue: '[\'leading\', \'trailing\']',
4141
description:
42-
'An optional array specifying whether the function should be invoked on the leading edge, trailing edge, or both.',
42+
'An optional array specifying whether the function should be invoked on the leading edge, trailing edge, or both. <br />: The initial value is <code>[\'leading\', \'trailing\']</code>.',
4343
},
4444
]"
4545
/>

0 commit comments

Comments
 (0)