Skip to content

Commit

Permalink
DataViews: document view.layout (#56637)
Browse files Browse the repository at this point in the history
  • Loading branch information
oandregal authored Nov 29, 2023
1 parent e07956d commit c09075f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/edit-site/src/components/dataviews/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ Example:
- `operator`: which type of filter it is. Only `in` available at the moment.
- `value`: the actual value selected by the user.
- `hiddenFields`: the `id` of the fields that are hidden in the UI.
- `layout`: ...
- `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.
- `primaryField`: used by the `grid` layout. The `id` of the field to be used for rendering each card's title.

### View <=> data

Expand Down

0 comments on commit c09075f

Please sign in to comment.