{"id":7060,"date":"2023-03-14T07:22:26","date_gmt":"2023-03-14T07:22:26","guid":{"rendered":"https:\/\/www.ardorsys.com\/blog\/?p=7060"},"modified":"2023-03-14T07:24:34","modified_gmt":"2023-03-14T07:24:34","slug":"how-to-create-a-type-and-search-component-in-next-js-react","status":"publish","type":"post","link":"https:\/\/www.ardorsys.com\/blog\/how-to-create-a-type-and-search-component-in-next-js-react\/","title":{"rendered":"How to Create a type and search Component in Next.js React?"},"content":{"rendered":"<p>Here is an example of how you can create a type-and-search component in <a href=\"https:\/\/www.ardorsys.com\/blog\/creating-dynamic-scorecard-with-live-updates-in-next-js\/\">Next.js<\/a> using the <code>useState<\/code> hook and the <code>fetch<\/code> function:<\/p>\n<pre lang=\"javascript\" escaped=\"true\">\r\nimport { useState } from 'react';\r\n\r\nfunction TypeAndSearch({ data }) {\r\n  const [searchTerm, setSearchTerm] = useState('');\r\n  const [results, setResults] = useState([]);\r\n\r\n  async function handleSearch(e) {\r\n    e.preventDefault();\r\n    const response = await fetch(`\/api\/search?q=${searchTerm}`);\r\n    const data = await response.json();\r\n    setResults(data);\r\n  }\r\n\r\n  return (\r\n    <form onSubmit={handleSearch}>\r\n      <input\r\n        type=\"text\"\r\n        value={searchTerm}\r\n        onChange={(e) => setSearchTerm(e.target.value)}\r\n      \/>\r\n      <button type=\"submit\">Search<\/button>\r\n      <ul>\r\n        {results.map((item) => (\r\n          <li key={item.id}>{item.name}<\/li>\r\n        ))}\r\n      <\/ul>\r\n    <\/form>\r\n  );\r\n}\r\n\r\nexport default TypeAndSearch;\r\n\r\n<\/pre>\n<p>In this example, the <code>TypeAndSearch<\/code> component has a state variable <code>searchTerm<\/code> that is used to store the search term entered by the user, and a state variable <code>results<\/code> that is used to store the search results. The <code>handleSearch<\/code> function is called when the form is submitted and uses the <code>fetch<\/code> function to send a request to the server with the search term. The server should return a JSON array of search results, which is then stored in the <code>results<\/code> state variable. The <code>TypeAndSearch<\/code> component then displays the search results in an unordered list.<\/p>\n","protected":false},"excerpt":{"rendered":"Here is an example of how you can create a type-and-search component in Next.js using the useState hook&hellip;\n","protected":false},"author":1,"featured_media":7074,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[60,62],"tags":[179,64,96],"class_list":["post-7060","post","type-post","status-publish","format-standard","has-post-thumbnail","category-nodejs","category-react","tag-next-js","tag-reactjs","tag-reactjs-development"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.9 - aioseo.com -->\n\t<meta name=\"description\" content=\"Want to know about how to create a type and search component in Next.js React? Read our latest blog on Ardorsys Technologies\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"admin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.ardorsys.com\/blog\/how-to-create-a-type-and-search-component-in-next-js-react\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.9\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Ardorsys Insights -\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Type &amp; search Component in Next.js React - Ardorsys Insights\" \/>\n\t\t<meta property=\"og:description\" content=\"Want to know about how to create a type and search component in Next.js React? Read our latest blog on Ardorsys Technologies\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.ardorsys.com\/blog\/how-to-create-a-type-and-search-component-in-next-js-react\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/www.ardorsys.com\/blog\/wp-content\/uploads\/2023\/03\/how-to-create-a-type-and-search-component-in-next-js-react-ardorsys.webp\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/www.ardorsys.com\/blog\/wp-content\/uploads\/2023\/03\/how-to-create-a-type-and-search-component-in-next-js-react-ardorsys.webp\" \/>\n\t\t<meta property=\"og:image:width\" content=\"800\" \/>\n\t\t<meta property=\"og:image:height\" content=\"500\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2023-03-14T07:22:26+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2023-03-14T07:24:34+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/facebook.com\/ardorsys\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@ardorsys\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Type &amp; search Component in Next.js React - Ardorsys Insights\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Want to know about how to create a type and search component in Next.js React? Read our latest blog on Ardorsys Technologies\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.ardorsys.com\/blog\/wp-content\/uploads\/2023\/03\/how-to-create-a-type-and-search-component-in-next-js-react-ardorsys.webp\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/www.ardorsys.com\\\/blog\\\/how-to-create-a-type-and-search-component-in-next-js-react\\\/#blogposting\",\"name\":\"Type & search Component in Next.js React - Ardorsys Insights\",\"headline\":\"How to Create a type and search Component in Next.js React?\",\"author\":{\"@id\":\"https:\\\/\\\/www.ardorsys.com\\\/blog\\\/author\\\/admin\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.ardorsys.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.ardorsys.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/how-to-create-a-type-and-search-component-in-next-js-react-ardorsys.webp\",\"width\":800,\"height\":500},\"datePublished\":\"2023-03-14T07:22:26+00:00\",\"dateModified\":\"2023-03-14T07:24:34+00:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.ardorsys.com\\\/blog\\\/how-to-create-a-type-and-search-component-in-next-js-react\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.ardorsys.com\\\/blog\\\/how-to-create-a-type-and-search-component-in-next-js-react\\\/#webpage\"},\"articleSection\":\"NodeJs, React, Next.Js, ReactJS, Reactjs Development\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.ardorsys.com\\\/blog\\\/how-to-create-a-type-and-search-component-in-next-js-react\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ardorsys.com\\\/blog#listItem\",\"position\":1,\"name\":\"Ardorsys\",\"item\":\"https:\\\/\\\/www.ardorsys.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ardorsys.com\\\/blog\\\/category\\\/nodejs\\\/#listItem\",\"name\":\"NodeJs\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ardorsys.com\\\/blog\\\/category\\\/nodejs\\\/#listItem\",\"position\":2,\"name\":\"NodeJs\",\"item\":\"https:\\\/\\\/www.ardorsys.com\\\/blog\\\/category\\\/nodejs\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ardorsys.com\\\/blog\\\/how-to-create-a-type-and-search-component-in-next-js-react\\\/#listItem\",\"name\":\"How to Create a type and search Component in Next.js React?\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ardorsys.com\\\/blog#listItem\",\"name\":\"Ardorsys\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ardorsys.com\\\/blog\\\/how-to-create-a-type-and-search-component-in-next-js-react\\\/#listItem\",\"position\":3,\"name\":\"How to Create a type and search Component in Next.js React?\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ardorsys.com\\\/blog\\\/category\\\/nodejs\\\/#listItem\",\"name\":\"NodeJs\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.ardorsys.com\\\/blog\\\/#organization\",\"name\":\"Ardorsys Insights\",\"url\":\"https:\\\/\\\/www.ardorsys.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.ardorsys.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/ardorsys-logo.png\",\"@id\":\"https:\\\/\\\/www.ardorsys.com\\\/blog\\\/how-to-create-a-type-and-search-component-in-next-js-react\\\/#organizationLogo\",\"width\":350,\"height\":93},\"image\":{\"@id\":\"https:\\\/\\\/www.ardorsys.com\\\/blog\\\/how-to-create-a-type-and-search-component-in-next-js-react\\\/#organizationLogo\"},\"sameAs\":[\"https:\\\/\\\/www.instagram.com\\\/ardorsystechnologies\",\"https:\\\/\\\/in.pinterest.com\\\/ardorsystechnologies\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/ardorsystechnologies\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.ardorsys.com\\\/blog\\\/author\\\/admin\\\/#author\",\"url\":\"https:\\\/\\\/www.ardorsys.com\\\/blog\\\/author\\\/admin\\\/\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.ardorsys.com\\\/blog\\\/how-to-create-a-type-and-search-component-in-next-js-react\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4f0a6e39134d168cf1a5573e9d071c32a8d99b252e76ae1bc7eb9d824cf4da43?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"admin\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.ardorsys.com\\\/blog\\\/how-to-create-a-type-and-search-component-in-next-js-react\\\/#webpage\",\"url\":\"https:\\\/\\\/www.ardorsys.com\\\/blog\\\/how-to-create-a-type-and-search-component-in-next-js-react\\\/\",\"name\":\"Type & search Component in Next.js React - Ardorsys Insights\",\"description\":\"Want to know about how to create a type and search component in Next.js React? Read our latest blog on Ardorsys Technologies\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.ardorsys.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.ardorsys.com\\\/blog\\\/how-to-create-a-type-and-search-component-in-next-js-react\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.ardorsys.com\\\/blog\\\/author\\\/admin\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.ardorsys.com\\\/blog\\\/author\\\/admin\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.ardorsys.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/how-to-create-a-type-and-search-component-in-next-js-react-ardorsys.webp\",\"@id\":\"https:\\\/\\\/www.ardorsys.com\\\/blog\\\/how-to-create-a-type-and-search-component-in-next-js-react\\\/#mainImage\",\"width\":800,\"height\":500},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.ardorsys.com\\\/blog\\\/how-to-create-a-type-and-search-component-in-next-js-react\\\/#mainImage\"},\"datePublished\":\"2023-03-14T07:22:26+00:00\",\"dateModified\":\"2023-03-14T07:24:34+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.ardorsys.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.ardorsys.com\\\/blog\\\/\",\"name\":\"Ardorsys Insights\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.ardorsys.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Type & search Component in Next.js React - Ardorsys Insights","description":"Want to know about how to create a type and search component in Next.js React? Read our latest blog on Ardorsys Technologies","canonical_url":"https:\/\/www.ardorsys.com\/blog\/how-to-create-a-type-and-search-component-in-next-js-react\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/www.ardorsys.com\/blog\/how-to-create-a-type-and-search-component-in-next-js-react\/#blogposting","name":"Type & search Component in Next.js React - Ardorsys Insights","headline":"How to Create a type and search Component in Next.js React?","author":{"@id":"https:\/\/www.ardorsys.com\/blog\/author\/admin\/#author"},"publisher":{"@id":"https:\/\/www.ardorsys.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/www.ardorsys.com\/blog\/wp-content\/uploads\/2023\/03\/how-to-create-a-type-and-search-component-in-next-js-react-ardorsys.webp","width":800,"height":500},"datePublished":"2023-03-14T07:22:26+00:00","dateModified":"2023-03-14T07:24:34+00:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.ardorsys.com\/blog\/how-to-create-a-type-and-search-component-in-next-js-react\/#webpage"},"isPartOf":{"@id":"https:\/\/www.ardorsys.com\/blog\/how-to-create-a-type-and-search-component-in-next-js-react\/#webpage"},"articleSection":"NodeJs, React, Next.Js, ReactJS, Reactjs Development"},{"@type":"BreadcrumbList","@id":"https:\/\/www.ardorsys.com\/blog\/how-to-create-a-type-and-search-component-in-next-js-react\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.ardorsys.com\/blog#listItem","position":1,"name":"Ardorsys","item":"https:\/\/www.ardorsys.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.ardorsys.com\/blog\/category\/nodejs\/#listItem","name":"NodeJs"}},{"@type":"ListItem","@id":"https:\/\/www.ardorsys.com\/blog\/category\/nodejs\/#listItem","position":2,"name":"NodeJs","item":"https:\/\/www.ardorsys.com\/blog\/category\/nodejs\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.ardorsys.com\/blog\/how-to-create-a-type-and-search-component-in-next-js-react\/#listItem","name":"How to Create a type and search Component in Next.js React?"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.ardorsys.com\/blog#listItem","name":"Ardorsys"}},{"@type":"ListItem","@id":"https:\/\/www.ardorsys.com\/blog\/how-to-create-a-type-and-search-component-in-next-js-react\/#listItem","position":3,"name":"How to Create a type and search Component in Next.js React?","previousItem":{"@type":"ListItem","@id":"https:\/\/www.ardorsys.com\/blog\/category\/nodejs\/#listItem","name":"NodeJs"}}]},{"@type":"Organization","@id":"https:\/\/www.ardorsys.com\/blog\/#organization","name":"Ardorsys Insights","url":"https:\/\/www.ardorsys.com\/blog\/","logo":{"@type":"ImageObject","url":"https:\/\/www.ardorsys.com\/blog\/wp-content\/uploads\/2023\/03\/ardorsys-logo.png","@id":"https:\/\/www.ardorsys.com\/blog\/how-to-create-a-type-and-search-component-in-next-js-react\/#organizationLogo","width":350,"height":93},"image":{"@id":"https:\/\/www.ardorsys.com\/blog\/how-to-create-a-type-and-search-component-in-next-js-react\/#organizationLogo"},"sameAs":["https:\/\/www.instagram.com\/ardorsystechnologies","https:\/\/in.pinterest.com\/ardorsystechnologies","https:\/\/www.linkedin.com\/company\/ardorsystechnologies"]},{"@type":"Person","@id":"https:\/\/www.ardorsys.com\/blog\/author\/admin\/#author","url":"https:\/\/www.ardorsys.com\/blog\/author\/admin\/","name":"admin","image":{"@type":"ImageObject","@id":"https:\/\/www.ardorsys.com\/blog\/how-to-create-a-type-and-search-component-in-next-js-react\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/4f0a6e39134d168cf1a5573e9d071c32a8d99b252e76ae1bc7eb9d824cf4da43?s=96&d=mm&r=g","width":96,"height":96,"caption":"admin"}},{"@type":"WebPage","@id":"https:\/\/www.ardorsys.com\/blog\/how-to-create-a-type-and-search-component-in-next-js-react\/#webpage","url":"https:\/\/www.ardorsys.com\/blog\/how-to-create-a-type-and-search-component-in-next-js-react\/","name":"Type & search Component in Next.js React - Ardorsys Insights","description":"Want to know about how to create a type and search component in Next.js React? Read our latest blog on Ardorsys Technologies","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.ardorsys.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.ardorsys.com\/blog\/how-to-create-a-type-and-search-component-in-next-js-react\/#breadcrumblist"},"author":{"@id":"https:\/\/www.ardorsys.com\/blog\/author\/admin\/#author"},"creator":{"@id":"https:\/\/www.ardorsys.com\/blog\/author\/admin\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/www.ardorsys.com\/blog\/wp-content\/uploads\/2023\/03\/how-to-create-a-type-and-search-component-in-next-js-react-ardorsys.webp","@id":"https:\/\/www.ardorsys.com\/blog\/how-to-create-a-type-and-search-component-in-next-js-react\/#mainImage","width":800,"height":500},"primaryImageOfPage":{"@id":"https:\/\/www.ardorsys.com\/blog\/how-to-create-a-type-and-search-component-in-next-js-react\/#mainImage"},"datePublished":"2023-03-14T07:22:26+00:00","dateModified":"2023-03-14T07:24:34+00:00"},{"@type":"WebSite","@id":"https:\/\/www.ardorsys.com\/blog\/#website","url":"https:\/\/www.ardorsys.com\/blog\/","name":"Ardorsys Insights","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.ardorsys.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"Ardorsys Insights -","og:type":"article","og:title":"Type &amp; search Component in Next.js React - Ardorsys Insights","og:description":"Want to know about how to create a type and search component in Next.js React? Read our latest blog on Ardorsys Technologies","og:url":"https:\/\/www.ardorsys.com\/blog\/how-to-create-a-type-and-search-component-in-next-js-react\/","og:image":"https:\/\/www.ardorsys.com\/blog\/wp-content\/uploads\/2023\/03\/how-to-create-a-type-and-search-component-in-next-js-react-ardorsys.webp","og:image:secure_url":"https:\/\/www.ardorsys.com\/blog\/wp-content\/uploads\/2023\/03\/how-to-create-a-type-and-search-component-in-next-js-react-ardorsys.webp","og:image:width":800,"og:image:height":500,"article:published_time":"2023-03-14T07:22:26+00:00","article:modified_time":"2023-03-14T07:24:34+00:00","article:publisher":"https:\/\/facebook.com\/ardorsys","twitter:card":"summary","twitter:site":"@ardorsys","twitter:title":"Type &amp; search Component in Next.js React - Ardorsys Insights","twitter:description":"Want to know about how to create a type and search component in Next.js React? Read our latest blog on Ardorsys Technologies","twitter:image":"https:\/\/www.ardorsys.com\/blog\/wp-content\/uploads\/2023\/03\/how-to-create-a-type-and-search-component-in-next-js-react-ardorsys.webp"},"aioseo_meta_data":{"post_id":"7060","title":"Type &amp; search Component in Next.js React #separator_sa #site_title","description":"Want to know about how to create a type and search component in Next.js React? Read our latest blog on Ardorsys Technologies","keywords":[],"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"BlogPosting","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2023-03-09 05:13:13","updated":"2026-06-28 09:56:13","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.ardorsys.com\/blog\" title=\"Ardorsys\">Ardorsys<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.ardorsys.com\/blog\/category\/nodejs\/\" title=\"NodeJs\">NodeJs<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tHow to Create a type and search Component in Next.js React?\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Ardorsys","link":"https:\/\/www.ardorsys.com\/blog"},{"label":"NodeJs","link":"https:\/\/www.ardorsys.com\/blog\/category\/nodejs\/"},{"label":"How to Create a type and search Component in Next.js React?","link":"https:\/\/www.ardorsys.com\/blog\/how-to-create-a-type-and-search-component-in-next-js-react\/"}],"_links":{"self":[{"href":"https:\/\/www.ardorsys.com\/blog\/wp-json\/wp\/v2\/posts\/7060","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ardorsys.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ardorsys.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ardorsys.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ardorsys.com\/blog\/wp-json\/wp\/v2\/comments?post=7060"}],"version-history":[{"count":4,"href":"https:\/\/www.ardorsys.com\/blog\/wp-json\/wp\/v2\/posts\/7060\/revisions"}],"predecessor-version":[{"id":7077,"href":"https:\/\/www.ardorsys.com\/blog\/wp-json\/wp\/v2\/posts\/7060\/revisions\/7077"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ardorsys.com\/blog\/wp-json\/wp\/v2\/media\/7074"}],"wp:attachment":[{"href":"https:\/\/www.ardorsys.com\/blog\/wp-json\/wp\/v2\/media?parent=7060"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ardorsys.com\/blog\/wp-json\/wp\/v2\/categories?post=7060"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ardorsys.com\/blog\/wp-json\/wp\/v2\/tags?post=7060"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}