<template>
  <div class="block">
    <h1>概述</h1>
    <p>搜索框</p>
  </div>
  
  <div class="block">
    <h1>代码示例</h1>
    <RunCase label="基本用法" file="./search/Basic.vue">
      <template #component>
        <Basic />
      </template>
      <template #description>
        <p>搜索框，支持通过<code>v-model</code>绑定搜索关键词。</p>
      </template>
    </RunCase>
  </div>

  <div class="block">
    <h1>API</h1>
    <h2>props</h2>
    <PropsTable type="search"/>
    <h2>events</h2>
    <EventsTable type="search"/>
  </div>
  
</template>

<script setup>
import Basic from '../components/search/Basic.vue'

</script>