Skip to content

Commit

Permalink
docs: add size info
Browse files Browse the repository at this point in the history
  • Loading branch information
cabreraalex committed Dec 1, 2023
1 parent f9ca831 commit 3ecf169
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/views/spec/other.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,9 @@ A vertical stack of keyed elements. Can be used to combine different element typ

#### Properties

| Property | Type | Description |
| -------- | ---------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
| keys | Record<string:[ViewElement](/docs/views/spec/other)> | List of objects mapping from a String key to a ViewElement used to render the content of the data behind the key. |
| Property | Type | Description |
| -------- | ------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------- |
| keys | Record\<string:[ViewElement](/docs/views/spec/other)\> | List of objects mapping from a String key to a ViewElement used to render the content of the data behind the key. |

## Separated Values

Expand Down
2 changes: 2 additions & 0 deletions docs/views/spec/spec.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ The top level of the View Specification contains keys for the three main inputs,
"data": ...,
"label": ...,
"output": ...,
"size": ...,
"displayType": ...
}
`}
Expand All @@ -51,4 +52,5 @@ The top level of the View Specification contains keys for the three main inputs,
| data | [ViewElement](/docs/views/spec/other) | How to render data entries. |
| label | [ViewElement](/docs/views/spec/other) | How to render label entries. |
| output | [ViewElement](/docs/views/spec/other) | How to render output entries. |
| size | "medium" \| "large" | Width of the instance. |
| displayType | Optional[String] | How to display data, label, and output entries. The default view is a vertical list and each of `data`, `label` and `output` must be [ViewElement](/docs/views/spec/other)s. If set to `"table"`, `data`, `label`, and `output` must be [Separated Values](/docs/views/spec/other#separated-values). |

0 comments on commit 3ecf169

Please sign in to comment.