Switching to classic Search Modal
Switching to the classic search modal (JS-UI)
- Where you construct your searchProvider, import and pass in the
ClassicSearchModal
as thesearchModalComponent
property.
import { ClassicSearchModal } from "@depict-ai/js-ui";
const searchProvider = new DepictSearchProvider<YourDisplay>({
// … other properties
searchModalComponent: ClassicSearchModal,
});
- Where you import the Depict UI SCSS, set the
$search-modal-layout
variable to"classic"
.
@use "@depict-ai/js-ui" with ($search-modal-layout: "classic");