Type Alias: CustomizationController
CustomizationController:
object
Type declaration​
components?​
optional
components:object
components.missingReference?​
optional
missingReference:React.ComponentType
<object
>
Component to render when a reference is missing
Type declaration​
path​
path:
string
dateTimeFormat?​
optional
dateTimeFormat:string
Format of the dates in the CMS. Defaults to 'MMMM dd, yyyy, HH:mm:ss'
entityLinkBuilder?​
optional
entityLinkBuilder:EntityLinkBuilder
Builder for generating utility links for entities
entityViews?​
optional
entityViews:EntityCustomView
[]
List of additional custom views for entities.
You can use the key to reference the custom view in
the entityViews
prop of a collection.
You can also define an entity view from the UI.
locale?​
optional
locale:Locale
Locale of the CMS, currently only affecting dates
plugins?​
optional
plugins:FireCMSPlugin
<any
,any
,any
>[]
Use plugins to modify the behaviour of the CMS.
propertyConfigs​
propertyConfigs:
Record
<string
,PropertyConfig
>
Record of custom form fields to be used in the CMS.
You can use the key to reference the custom field in
the propertyConfig
prop of a property in a collection.
Defined in​
packages/firecms_core/src/types/customization_controller.tsx:8