mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-09-03 12:41:45 +02:00
17 lines
451 B
JavaScript
17 lines
451 B
JavaScript
import React from "react";
|
|
import ListContainer from "../components/list-container";
|
|
import SearchInput from "../components/search";
|
|
import { useStore } from "../stores/searchstore";
|
|
|
|
function Search() {
|
|
const results = useStore(store => store.results);
|
|
const item = useStore(store => store.item);
|
|
return (
|
|
<>
|
|
<SearchInput type={""} />
|
|
<ListContainer noSearch items={results} item={item} />
|
|
</>
|
|
);
|
|
}
|
|
export default Search;
|