mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-03 22:47:15 +01:00
prettier all the things
This commit is contained in:
@@ -1,32 +1,36 @@
|
||||
const H1 = (props: any) => (
|
||||
<h1
|
||||
className="pb-2 mt-6 mb-4 text-4xl font-semibold leading-tight border-b"
|
||||
{...props}
|
||||
/>
|
||||
)
|
||||
<h1
|
||||
className="pb-2 mt-6 mb-4 text-4xl font-semibold leading-tight border-b"
|
||||
{...props}
|
||||
/>
|
||||
)
|
||||
const H2 = (props: any) => (
|
||||
<h2
|
||||
className="pb-2 mt-6 mb-4 text-2xl font-semibold leading-tight border-b"
|
||||
{...props}
|
||||
/>
|
||||
)
|
||||
<h2
|
||||
className="pb-2 mt-6 mb-4 text-2xl font-semibold leading-tight border-b"
|
||||
{...props}
|
||||
/>
|
||||
)
|
||||
const H3 = (props: any) => (
|
||||
<h3 className="mt-6 mb-4 text-lg font-semibold leading-snug" {...props} />
|
||||
)
|
||||
<h3 className="mt-6 mb-4 text-lg font-semibold leading-snug" {...props} />
|
||||
)
|
||||
const H4 = (props: any) => (
|
||||
<h4 className="mt-6 mb-4 text-base font-semibold leading-none" {...props} />
|
||||
)
|
||||
<h4 className="mt-6 mb-4 text-base font-semibold leading-none" {...props} />
|
||||
)
|
||||
const H5 = (props: any) => (
|
||||
<h5 className="mt-6 mb-4 text-sm font-semibold leading-tight" {...props} />
|
||||
)
|
||||
<h5 className="mt-6 mb-4 text-sm font-semibold leading-tight" {...props} />
|
||||
)
|
||||
const H6 = (props: any) => (
|
||||
<h6
|
||||
className="mt-6 mb-4 text-sm font-semibold leading-tight text-gray-600"
|
||||
{...props}
|
||||
/>
|
||||
)
|
||||
const UL = (props: any) => <ul className="pl-8 text-base list-disc" {...props} />
|
||||
const OL = (props: any) => <ol className="pl-8 text-base list-decimal" {...props} />
|
||||
<h6
|
||||
className="mt-6 mb-4 text-sm font-semibold leading-tight text-gray-600"
|
||||
{...props}
|
||||
/>
|
||||
)
|
||||
const UL = (props: any) => (
|
||||
<ul className="pl-8 text-base list-disc" {...props} />
|
||||
)
|
||||
const OL = (props: any) => (
|
||||
<ol className="pl-8 text-base list-decimal" {...props} />
|
||||
)
|
||||
|
||||
const MdComponents = {
|
||||
h1: H1,
|
||||
@@ -39,4 +43,4 @@ const MdComponents = {
|
||||
ol: OL,
|
||||
}
|
||||
|
||||
export default MdComponents;
|
||||
export default MdComponents
|
||||
|
||||
Reference in New Issue
Block a user