Skip to content

Commit 8d24071

Browse files
committed
doc: add code comment
1 parent 655df35 commit 8d24071

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/Shared/Components/SelectPicker/SelectPicker.component.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ import './selectPicker.scss'
9292
* menuListFooterConfig={{
9393
* type: 'text',
9494
* value: 'Info text',
95-
* }}
95+
* }}
9696
* />
9797
* ```
9898
*

src/Shared/Components/SelectPicker/type.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,8 @@ export type SelectPickerProps<OptionValue = number | string, IsMulti extends boo
187187
Omit<FormFieldWrapperProps, 'children'> & {
188188
/**
189189
* Config for the footer at the bottom of menu list. It is sticky by default
190+
*
191+
* Note: Re-declaring here since dynamic typing doesn't work with module augmentation
190192
*/
191193
menuListFooterConfig?: MenuListFooterConfigType
192194
/**

0 commit comments

Comments
 (0)