|
|
@ -60,7 +60,7 @@ interface Instance {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const containerClasses: { searchBar: string; } = findByPropsLazy("searchBar", "searchHeader", "searchInput");
|
|
|
|
const containerClasses: { searchBar: string; } = findByPropsLazy("searchBar", "searchBarFullRow");
|
|
|
|
|
|
|
|
|
|
|
|
export const settings = definePluginSettings({
|
|
|
|
export const settings = definePluginSettings({
|
|
|
|
searchOption: {
|
|
|
|
searchOption: {
|
|
|
@ -182,7 +182,7 @@ function SearchBar({ instance, SearchBarComponent }: { instance: Instance; Searc
|
|
|
|
ref={ref}
|
|
|
|
ref={ref}
|
|
|
|
autoFocus={true}
|
|
|
|
autoFocus={true}
|
|
|
|
className={containerClasses.searchBar}
|
|
|
|
className={containerClasses.searchBar}
|
|
|
|
size={SearchBarComponent.Sizes.SMALL}
|
|
|
|
size={SearchBarComponent.Sizes.MEDIUM}
|
|
|
|
onChange={onChange}
|
|
|
|
onChange={onChange}
|
|
|
|
onClear={() => {
|
|
|
|
onClear={() => {
|
|
|
|
setQuery("");
|
|
|
|
setQuery("");
|
|
|
|