adding class to example code
Update docs/templates/pages/components.mustache
Merge pull request #6600 from Yohn/patch-12

added missing class to doc example