stuff
This commit is contained in:
parent
dcf269eeb9
commit
e4d83edcab
|
@ -6626,6 +6626,7 @@ module.exports = (_ => {
|
|||
return BDFDB.ReactUtils.createElement("div", {
|
||||
className: BDFDB.disCN.selectwrapper,
|
||||
children: BDFDB.ReactUtils.createElement(InternalComponents.NativeSubComponents.SearchableSelect, Object.assign({}, this.props, {
|
||||
autoFocus: this.props.autoFocus ? this.props.autoFocus : false,
|
||||
maxVisibleItems: this.props.maxVisibleItems || 7,
|
||||
renderOptionLabel: this.props.optionRenderer,
|
||||
onChange: this.handleChange.bind(this)
|
||||
|
|
|
@ -1173,6 +1173,7 @@
|
|||
"SearchResultsGroup": {"props": ["searchResultGroup", "channelName"]},
|
||||
"SearchResultsMessage": {"props": ["message", "searchResult"]},
|
||||
"Select": {"props": ["select", "error", "errorMessage"]},
|
||||
"SelectSearchable": {"props": ["searchable", "option", "selectedIcon"]},
|
||||
"SettingsCloseButton": {"props": ["closeButton", "keybind"]},
|
||||
"SettingsItems": {"props": ["labelRow", "note"]},
|
||||
"SettingsTable": {"props": ["headerOption", "headerName"]},
|
||||
|
@ -2604,6 +2605,8 @@
|
|||
"searchresultsresult": ["SearchResultsMessage", "searchResult"],
|
||||
"searchresultswrap": ["SearchResults", "searchResultsWrap"],
|
||||
"select": ["Select", "select"],
|
||||
"selectoption": ["SelectSearchable", "option"],
|
||||
"selectselectedicon": ["SelectSearchable", "selectedIcon"],
|
||||
"selectwrapper": ["BDFDB", "selectWrapper"],
|
||||
"settingsclosebutton": ["SettingsCloseButton", "closeButton"],
|
||||
"settingsclosebuttoncontainer": ["SettingsCloseButton", "container"],
|
||||
|
|
|
@ -359,6 +359,11 @@ img:not([src]), img[src=""], img[src="null"] {
|
|||
margin-left: 12px;
|
||||
}
|
||||
|
||||
[REPLACE_CLASS_selectoption] {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
[REPLACE_CLASS_selectwrapper] {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
|
Loading…
Reference in New Issue