chore: misc documentation updates (#2589)

* chore: ensures example configs are being exported when necessary
* chore: adds note regarding updating of hidden fields

---------

Co-authored-by: Jessica Boezwinkle <jessica@trbl.design>
This commit is contained in:
Harrison-Blair
2023-05-01 16:28:13 -04:00
committed by GitHub
parent 0ba22c3aaf
commit 13179a9498
37 changed files with 73 additions and 68 deletions

View File

@@ -34,7 +34,7 @@ All collection Hook properties accept arrays of synchronous or asynchronous func
```ts
import { CollectionConfig } from 'payload/types';
const ExampleHooks: CollectionConfig = {
export const ExampleHooks: CollectionConfig = {
slug: 'example-hooks',
fields: [
{ name: 'name', type: 'text'},