tsm-ui
Version:
### Welcome to TSM-UI: Your Design System for Modern Web Development
14 lines (13 loc) • 1.24 kB
JavaScript
import{H as c}from"./index.8ca84786.js";import"./index.f31275f4.js";import"./index.d591fb27.js";import"./_commonjsHelpers.712cc82f.js";import"./index.8dde8ec8.js";const h={title:"Components/Heading",component:c,args:{children:"Custom title",size:"md"},argTypes:{size:{options:["sm","md","lg","2xl","4xl","5xl","6xl"],control:{type:"inline-radio"}}}},e={},a={args:{children:"H1 Heading",as:"h1"},parameters:{docs:{description:{story:"By default, the heading will always be an h2, but we can change that using the as property."}}}};var r,s,t;e.parameters={...e.parameters,docs:{...(r=e.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(t=(s=e.parameters)==null?void 0:s.docs)==null?void 0:t.source}}};var n,o,i;a.parameters={...a.parameters,docs:{...(n=a.parameters)==null?void 0:n.docs,source:{originalSource:`{
args: {
children: 'H1 Heading',
as: 'h1'
},
parameters: {
docs: {
description: {
story: 'By default, the heading will always be an h2, but we can change that using the as property.'
}
}
}
}`,...(i=(o=a.parameters)==null?void 0:o.docs)==null?void 0:i.source}}};const u=["Primary","CustomTag"];export{a as CustomTag,e as Primary,u as __namedExportsOrder,h as default};