schlechtenburg/docs/assets/chunks/display.5c85263e.js
2022-03-17 19:16:01 +01:00

2 lines
427 B
JavaScript

import{m as t,e as s}from"../index.md.f2252493.js";import"./style.b4010a052.js";import{k as d,e as l,x as n}from"../app.87539bc2.js";var m=d({name:"sb-heading-display",model:t,props:{data:{type:Object,default:s}},setup(a){const e=l(()=>({"sb-heading":!0,[`sb-heading_align-${a.data.align}`]:!0,[`sb-heading_${a.data.level}`]:!0}));return()=>n(`h${a.data.level}`,{class:e.value,innerHTML:a.data.value})}});export{m as default};