diff --git a/docs/_includes/component.njk b/docs/_includes/component.njk index f340c93f..f1654d25 100644 --- a/docs/_includes/component.njk +++ b/docs/_includes/component.njk @@ -137,15 +137,17 @@ {{ prop.name }} - {% if prop.attribute != prop.name %} -
- - - - {{ prop.attribute }} - - - + {% if prop.attribute | length > 0 %} + {% if prop.attribute != prop.name %} +
+ + + + {{ prop.attribute }} + + + + {% endif %} {% endif %}