1
0
mirror of synced 2025-12-22 11:26:57 -05:00
Files
docs/includes/graphql-arguments.html
Kevin Heis 567652b0e3 Primer 18 b (#22462)
* Create migrate-colors-primer-18.js

* Update colors round 1

* upgrade primer packages

* Update index.scss

* Replace auto colors

* remove btn-primary-matte

* Turns out the class names and variables names DONT LINE UP... ugh....

* Check for allowed var colors
2021-10-28 19:17:23 +00:00

13 lines
548 B
HTML

{% if field.arguments %}
<div class="border rounded-1 mt-3 mb-3 p-3 color-bg-subtle f5">
<p><b>{% data ui.products.graphql.reference.arguments %}</b></p>
{% for arg in arguments %}
<div class="border-top mt-2">
<p class="mt-2"><code>{{ arg.name }}</code> (<code><a href="/{{ currentLanguage }}{{ arg.type.href }}">{{ arg.type.name }}</a></code>)</p>
<p>{{ arg.description }}</p>
{% if arg.defaultValue or arg.defaultValue == false %}<p>The default value is <code>{{ arg.defaultValue }}</code>.</p>{% endif %}
</div>
{% endfor %}
</div>
{% endif %}