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
File tree Expand file tree Collapse file tree 2 files changed +12
-14
lines changed
Expand file tree Collapse file tree 2 files changed +12
-14
lines changed Original file line number Diff line number Diff line change @@ -11,13 +11,6 @@ import { NonCancelableEventHandler } from '../internal/events';
1111import { BaseSelectProps } from '../select/interfaces' ;
1212
1313export 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
9089export namespace MultiselectProps {
Original file line number Diff line number Diff line change @@ -160,13 +160,6 @@ export interface BaseSelectProps
160160}
161161
162162export 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
206205export namespace SelectProps {
You can’t perform that action at this time.
0 commit comments