@@ -81,14 +81,27 @@ export const componentConfig = {
8181 className="px-4 py-2 w-full border-2 border-black shadow-md transition focus:outline-none focus:shadow-xs"
8282/>` ,
8383 } ,
84- "textarea-style-default" : {
85- name : "textarea-style-default" ,
86- preview : lazy ( ( ) => import ( "@/preview/components/textarea-style-default" ) ) ,
87- codeHtml : `<textarea
88- placeholder="Enter text..."
89- rows="4"
90- class="px-4 py-2 w-full border-2 border-black shadow-md transition focus:outline-none focus:shadow-xs"
91- />` ,
84+ "typography-headings" : {
85+ name : "typography-headings" ,
86+ preview : lazy ( ( ) => import ( "@/preview/components/typography-headings" ) ) ,
87+ codeHtml : `<div className="space-y-4">
88+ <h1 className="font-head text-5xl lg:text-6xl font-bold">This is H1</h1>
89+ <h2 className="font-head text-4xl font-semibold">This is H2</h2>
90+ <h3 className="font-head text-2xl font-semibold">This is H3</h3>
91+ <h4 className="font-head text-xl font-medium">This is H4</h4>
92+ <h5 className="font-head text-lg font-medium">This is H5</h5>
93+ <h6 className="font-head font-medium">This is H6</h6>
94+ </div>` ,
95+ } ,
96+ "typography-p" : {
97+ name : "typography-p" ,
98+ preview : lazy ( ( ) => import ( "@/preview/components/typography-p" ) ) ,
99+ codeHtml : `<p className="font-sans">
100+ Lorem ipsum dolor, sit amet consectetur adipisicing elit. Quaerat eos,
101+ doloremque inventore nesciunt quo sequi veniam impedit alias libero
102+ dolorem tempore quia esse fugit fuga iste aliquam expedita molestias
103+ iusto?
104+ </p>` ,
92105 } ,
93106 } ,
94107} ;
0 commit comments