WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 48a55f7

Browse files
committed
fix: workaround for documenter bug
1 parent 41372bf commit 48a55f7

File tree

2 files changed

+12
-14
lines changed

2 files changed

+12
-14
lines changed

src/multiselect/interfaces.ts

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,6 @@ import { NonCancelableEventHandler } from '../internal/events';
1111
import { BaseSelectProps } from '../select/interfaces';
1212

1313
export interface MultiselectProps extends BaseSelectProps {
14-
/**
15-
* Specifies a render function to render custom options in the dropdown menu.
16-
*
17-
* @awsuiSystem core
18-
*/
19-
renderOption?: MultiselectProps.MultiselectOptionItemRenderer;
20-
2114
/**
2215
* Specifies the currently selected options.
2316
* Provide an empty array to clear the selection.
@@ -85,6 +78,12 @@ export interface MultiselectProps extends BaseSelectProps {
8578
* Enables users to select and deselect all options with a special extra checkbox which is displayed at the start of the dropdown.
8679
*/
8780
enableSelectAll?: boolean;
81+
/**
82+
* Specifies a render function to render custom options in the dropdown menu.
83+
*
84+
* @awsuiSystem core
85+
*/
86+
renderOption?: MultiselectProps.MultiselectOptionItemRenderer;
8887
}
8988

9089
export namespace MultiselectProps {

src/select/interfaces.ts

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -160,13 +160,6 @@ export interface BaseSelectProps
160160
}
161161

162162
export interface SelectProps extends BaseSelectProps {
163-
/**
164-
* Specifies a render function to render custom options in the dropdown menu.
165-
*
166-
* @awsuiSystem core
167-
*/
168-
renderOption?: SelectProps.SelectOptionItemRenderer;
169-
170163
/**
171164
* Adds a small label inline with the input for saving vertical space in the UI.
172165
* For use with collection select filters only.
@@ -201,6 +194,12 @@ export interface SelectProps extends BaseSelectProps {
201194
* Automatically focuses the trigger when component is mounted.
202195
*/
203196
autoFocus?: boolean;
197+
/**
198+
* Specifies a render function to render custom options in the dropdown menu.
199+
*
200+
* @awsuiSystem core
201+
*/
202+
renderOption?: SelectProps.SelectOptionItemRenderer;
204203
}
205204

206205
export namespace SelectProps {

0 commit comments

Comments
 (0)