Example component
Example
html
<h1 class="example">Example green</h1>
<h1 class="example example--red">Example red</h1>
The purpose of this amazing example component is
to give a example how to use the sassy sassdoc!
You can use sassdoc to give an example of your component
including the scss and the html! You can even use njk templates.
You can use a whole bunch of annotations to describe your sass code
Have a look at the sassdoc documentation: http://sassdoc.com/annotations/
(Or look at the code of this example: https://github.com/polynorm/poly-web-ui/blob/master/src/scss/components/_example.scss)
Have fun and remember:
