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
|**`beforeList`**| An array of components to inject _before_ the built-in List View |
71
+
|**`beforeListTable`**| An array of components to inject _before_ the built-in List View's table |
72
+
|**`afterList`**| An array of components to inject _after_ the built-in List View |
73
+
|**`afterListTable`**| An array of components to inject _after_ the built-in List View's table|
74
+
|**`Description`**| A component to render below the Collection label in the List View. An alternative to the `admin.description` property. |
75
+
|**`edit.SaveButton`**| Replace the default Save Button with a Custom Component. [Drafts](../versions/drafts) must be disabled. |
76
76
|**`edit.SaveDraftButton`**| Replace the default Save Draft Button with a Custom Component. [Drafts](../versions/drafts) must be enabled and autosave must be disabled. |
77
77
|**`edit.PublishButton`**| Replace the default Publish Button with a Custom Component. [Drafts](../versions/drafts) must be enabled. |
78
-
|**`edit.PreviewButton`**| Replace the default Preview Button with a Custom Component. [Preview](#preview) must be enabled. |
79
-
|**`views`**| Override or create new views within the Admin Panel. [More details](./views). |
78
+
|**`edit.PreviewButton`**| Replace the default Preview Button with a Custom Component. [Preview](#preview) must be enabled. |
79
+
|**`views`**| Override or create new views within the Admin Panel. [More details](./views). |
| **`docPreferences`** | An object that contains the [Preferences](./preferences) for the document.
248
-
|**`field`**| In Client Components, this is the sanitized Client Field Config. In Server Components, this is the original Field Config. Server Components will also receive the sanitized field config through the`clientField` prop (see below). |
249
-
|**`locale`**| The locale of the field. [More details](../configuration/localization).|
250
-
|**`readOnly`**| A boolean value that represents if the field is read-only or not. |
251
-
|**`user`**| The currently authenticated user. [More details](../authentication/overview). |
252
-
|**`validate`**| A function that can be used to validate the field. |
253
-
|**`path`**| A string representing the direct, dynamic path to the field at runtime, i.e. `myGroup.myArray.0.myField`. |
254
-
|**`schemaPath`**| A string representing the direct, static path to the [Field Config](../fields/overview), i.e. `posts.myGroup.myArray.myField`. |
255
-
|**`indexPath`**| A hyphen-notated string representing the path to the field _within the nearest named ancestor field_, i.e. `0-0`|
|**`docPreferences`**| An object that contains the [Preferences](./preferences) for the document.|
248
+
|**`field`**| In Client Components, this is the sanitized Client Field Config. In Server Components, this is the original Field Config. Server Components will also receive the sanitized field config through the`clientField` prop (see below). |
249
+
|**`locale`**| The locale of the field. [More details](../configuration/localization). |
250
+
|**`readOnly`**| A boolean value that represents if the field is read-only or not.|
251
+
|**`user`**| The currently authenticated user. [More details](../authentication/overview).|
252
+
|**`validate`**| A function that can be used to validate the field.|
253
+
|**`path`**| A string representing the direct, dynamic path to the field at runtime, i.e. `myGroup.myArray.0.myField`.|
254
+
|**`schemaPath`**| A string representing the direct, static path to the [Field Config](../fields/overview), i.e. `posts.myGroup.myArray.myField`.|
255
+
|**`indexPath`**| A hyphen-notated string representing the path to the field _within the nearest named ancestor field_, i.e. `0-0`|
256
256
257
257
In addition to the above props, all Server Components will also receive the following props:
|**`slug`** * | Identifier for this block type. Will be saved on each block as the `blockType` property. |
149
-
|**`fields`** * | Array of fields to be stored in this block. |
148
+
|**`slug`** * | Identifier for this block type. Will be saved on each block as the `blockType` property. |
149
+
|**`fields`** * | Array of fields to be stored in this block. |
150
150
|**`labels`**| Customize the block labels that appear in the Admin dashboard. Auto-generated from slug if not defined. |
151
151
|**`imageURL`**| Provide a custom image thumbnail to help editors identify this block in the Admin UI. |
152
152
|**`imageAltText`**| Customize this block's image thumbnail alt text. |
153
153
|**`interfaceName`**| Create a top level, reusable [Typescript interface](/docs/typescript/generating-types#custom-field-interfaces) & [GraphQL type](/docs/graphql/graphql-schema#custom-field-schemas). |
154
154
|**`graphQL.singularName`**| Text to use for the GraphQL schema name. Auto-generated from slug if not defined. NOTE: this is set for deprecation, prefer `interfaceName`. |
155
-
| **`dbName`** | Custom table name for this block type when using SQL Database Adapter ([Postgres](/docs/database/postgres)). Auto-generated from slug if not defined.
155
+
|**`dbName`**| Custom table name for this block type when using SQL Database Adapter ([Postgres](/docs/database/postgres)). Auto-generated from slug if not defined.|
156
156
|**`custom`**| Extension point for adding custom data (e.g. for plugins) |
0 commit comments