squiggle/foretold/components/showcase/entries/Showcase_PageCard.re

20 lines
587 B
ReasonML
Raw Normal View History

2022-01-12 07:33:04 +00:00
open FC;
let render = () =>
<PageCard>
<PageCard.HeaderRow>
<PageCard.HeaderRow.Title>
"PageCard.HeaderRow.Title"->React.string
</PageCard.HeaderRow.Title>
</PageCard.HeaderRow>
<PageCard.BodyPadding>
<PageCard.H1> "PageCard.H1"->React.string </PageCard.H1>
<PageCard.P> "PageCard.P"->React.string </PageCard.P>
</PageCard.BodyPadding>
<PageCard.Section border=`top background=`grey>
"Section, grey + borderTop"->React.string
</PageCard.Section>
</PageCard>;
let entry = EntryTypes.(entry(~title="PageCard", ~render));