You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|**`cellData`**| The data value for this specific cell. |
949
+
|**`collectionSlug`**| The slug of the collection being rendered. |
950
+
|**`field`**| The field configuration object. |
951
+
|**`rowData`**| An object containing all data for the current row. |
952
+
|**`className`**| Optional CSS class name for styling the cell. |
953
+
|**`columnIndex`**| Optional index number of the column. |
954
+
|**`customCellProps`**| Optional additional custom props passed to the cell. |
955
+
|**`link`**| Optional boolean representing whether this cell should be wrapped in a link. |
956
+
|**`linkURL`**| Optional URL string for the link. |
957
+
|**`onClick`**| Optional function called when the cell is clicked. |
958
+
|**`viewType`**| Optional string representing the type of view being rendered. |
959
+
960
+
<Bannertype="success">
961
+
**Note:** Cell components receive a different set of props than Field
962
+
components, optimized specifically for rendering data in the List View. They
963
+
do not receive the standard Field component props like `docPreferences`,
964
+
`validate`, or `path`.
965
+
</Banner>
919
966
920
967
For details on how to build Custom Components themselves, see [Building Custom Components](../custom-components/overview#building-custom-components).
921
968
922
969
#### Filter
923
970
924
971
The Filter Component is the actual input element rendered within the "Filter By" dropdown of the List View used to represent this field when building filters.
925
972
973
+
All Custom Filter Components receive the following props:
0 commit comments