TOPVERSE_Official/.output/public/_nuxt/Divider.vue.28215811.js

2 lines
685 B
JavaScript
Raw Normal View History

2023-05-31 11:02:15 +08:00
import{a as l,o as t,e as a,t as n,T as o,H as r,f as i}from"./entry.a42f0781.js";const c={className:"relative col-span-full lg:col-span-10 lg:col-start-2 px-50"},d=i("hr",{className:"border-0 h-px opacity-20 from-white/0 to-white/0 via-[#fff_21.5%,#fff_80%] bg-gradient-to-r"},null,-1),f={key:0,className:"font-medium absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 bg-[hsl(var(--a-body-bg-c))] leading-none text-center whitespace-nowrap p-2 z-10 "},h=l({__name:"Divider",props:{asChild:{type:Boolean},title:null},setup(e){return(s,m)=>(t(),a("div",c,[d,e.title?(t(),a("div",f,n(e.title),1)):o("",!0),e.asChild?r(s.$slots,"default",{key:1}):o("",!0)]))}});export{h as _};