components: Search suggestions
This commit is contained in:
parent
8a9ef8fcb4
commit
8223e696f9
7
components/search/onesearch/suggestion.tsx
Normal file
7
components/search/onesearch/suggestion.tsx
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
export default function(props: { children: React.ReactNode }) {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
<p>{props.children}</p>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
7
components/search/onesearch/suggestionBox.tsx
Normal file
7
components/search/onesearch/suggestionBox.tsx
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
export default function(props: { children: React.ReactNode }) {
|
||||||
|
return (
|
||||||
|
<div className="relative w-11/12 sm:w-[700px] h-auto left-1/2 translate-x-[-50%] top-72 z-10">
|
||||||
|
{props.children}
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user