reactAdapter
constreactAdapter:FrameworkAdapterInput<ReactHKT>
Defined in: packages/react/src/adapter.ts:66
React framework adapter for VexCMS.
Registers all field input and cell components. TypeScript enforces via
ReactHKT that:
- Every type in the
AdminFieldunion has both an input and cell component - Each component accepts the correct props for its field type
Adding a new field type to AdminField automatically causes a type error
here until a component is added for it.
defineFrameworkAdapter in @vexcms/core