Skip to content

Commit

Permalink
changing schemasearch component to multiselect
Browse files Browse the repository at this point in the history
  • Loading branch information
BANANAPEEL202 committed Oct 30, 2024
1 parent 86eb4cd commit 193705f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/components/SchemaSearch.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { useState, useEffect } from "react";
import { Autocomplete } from "@mantine/core";
import { MultiSelect } from "@mantine/core";
import "@/css/SchemaSearch.css";

interface SchemaSearch {
Expand Down Expand Up @@ -44,13 +44,13 @@ const SchemaSearch: React.FC<SchemaSearch> = ({ schemas, clear }) => {

return (
<div>
<Autocomplete
label="Search by Schema"
placeholder="Start typing a schema name"
<MultiSelect
label="Schema"
placeholder="Schema name"
data={filteredSchemas}
value={value}
onChange={setValue}
onKeyDown={handleKeyDown}
searchable
size="xs"
/>
<br />
{/*
Expand Down

0 comments on commit 193705f

Please sign in to comment.