Skip to content

Commit

Permalink
Document use of mediaField
Browse files Browse the repository at this point in the history
  • Loading branch information
oandregal committed Dec 5, 2023
1 parent 6910c9f commit b822691
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/dataviews/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Example:
- `value`: the actual value selected by the user.
- `hiddenFields`: the `id` of the fields that are hidden in the UI.
- `layout`: config that is specific to a particular layout type.
- `mediaField`: used by the `grid` layout. The `id` of the field to be used for rendering each card's media.
- `mediaField`: used by the `grid` and `list` layouts. The `id` of the field to be used for rendering each card's media.
- `primaryField`: used by the `grid` and `list` layouts. The `id` of the field to be highlighted in each card/list item.

### View <=> data
Expand Down

0 comments on commit b822691

Please sign in to comment.