Rustelo/resources/templates/build-tools/partials/component_card.tera
Jesús Pérez f1010e9d07
chore: update
2026-07-18 20:16:16 +01:00

26 lines
640 B
Text

### {{ component.name }} {% raw %}{#{% endraw %}{{ component.anchor }}{% raw %}}{% endraw %}}
{% if component.src_ref %}
{% include "partials/source_link.tera" %}
{% endif %}
**Type:** {{ component.component_type }}
**{{ i18n.labels.module }}:** `{{ component.module_path }}`
{% if component.props %}
**Props:** {% for prop in component.props %}`{{ prop }}`{% if not loop.last %}, {% endif %}{% endfor %}
{% endif %}
{% if component.description %}
**{{ i18n.labels.description }}:** {{ component.description }}
{% endif %}
{% if component.usage_example %}
**Usage Example:**
```rust
{{ component.usage_example }}
```
{% endif %}
---