This example demonstrates basic usage of d3-component. Three components are created:
heading
Renders an<h1>
element and sets its text.paragraph
Renders a<p>
element and sets its text.post
Renders a<div>
element with a class of"post"
, and composes theheading
andpost
components.
Built with blockbuilder.org