Skip to content

Commit ce5b15a

Browse files
authored
PramField: document types (#249)
1 parent 8f7d13b commit ce5b15a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

content/components/params.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ icon: "text-size"
4040

4141
<ParamField body="type" type="string">
4242
Expected type of the parameter's value
43+
44+
Supports `number`, `string`, `bool`, `object`.
45+
46+
Arrays can be defined using the `[]` suffix. For example `string[]`.
4347
</ParamField>
4448

4549
<ParamField body="required" type="boolean">

0 commit comments

Comments
 (0)