import{B as t,o,c as l,x as s,D as p,a as n,N as c}from"./chunks/framework.68f3e7ab.js";const r=s("h1",{id:"用法",tabindex:"-1"},[n("用法 "),s("a",{class:"header-anchor",href:"#用法","aria-label":'Permalink to "用法"'},"​")],-1),i=s("h2",{id:"效果",tabindex:"-1"},[n("效果 "),s("a",{class:"header-anchor",href:"#效果","aria-label":'Permalink to "效果"'},"​")],-1),d={style:{padding:"1em",border:"1px solid #ccc","border-radius":"10px","margin-top":"20px"}},D=c(`<h2 id="代码示例" tabindex="-1">代码示例 <a class="header-anchor" href="#代码示例" aria-label="Permalink to &quot;代码示例&quot;">​</a></h2><div class="language-js"><button title="Copy Code" class="copy"></button><span class="lang">js</span><pre class="shiki material-theme-palenight"><code><span class="line"><span style="color:#89DDFF;">&lt;</span><span style="color:#FFCB6B;">TimePicker</span></span>
<span class="line"><span style="color:#89DDFF;">    :startOptions=&quot;startOptions&quot;</span></span>
<span class="line"><span style="color:#89DDFF;">    :endOptions=&quot;startOptions&quot;</span></span>
<span class="line"><span style="color:#89DDFF;">  &gt;&lt;/</span><span style="color:#FFCB6B;">TimePicker</span><span style="color:#89DDFF;">&gt;</span></span>
<span class="line"></span>
<span class="line"><span style="color:#89DDFF;">&lt;</span><span style="color:#F07178;">script</span><span style="color:#89DDFF;"> </span><span style="color:#C792EA;">setup</span><span style="color:#89DDFF;"> &gt;</span></span>
<span class="line"><span style="color:#A6ACCD;">const startOptions = </span><span style="color:#89DDFF;">{</span></span>
<span class="line"><span style="color:#A6ACCD;">  size: </span><span style="color:#89DDFF;">&quot;</span><span style="color:#C3E88D;">large</span><span style="color:#89DDFF;">&quot;</span><span style="color:#89DDFF;">,</span></span>
<span class="line"><span style="color:#89DDFF;">}</span><span style="color:#A6ACCD;">;</span></span>
<span class="line"><span style="color:#89DDFF;">&lt;/</span><span style="color:#F07178;">script</span><span style="color:#89DDFF;">&gt;</span></span>
<span class="line"></span></code></pre></div>`,2),u=JSON.parse('{"title":"用法","description":"","frontmatter":{},"headers":[],"relativePath":"examples/TimePicker/index.md"}'),F={name:"examples/TimePicker/index.md"},x=Object.assign(F,{setup(_){const a={size:"large"};return(y,m)=>{const e=t("xs-timePicker");return o(),l("div",null,[r,i,s("div",d,[p(e,{startOptions:a,endOptions:a})]),D])}}});export{u as __pageData,x as default};
