Skip to main content

Editor

This component renders the Editor page for React Bricks Admin Dashboard.
The Editor is where you edit your page content.

It needs no props, but it must be wrapped by the Admin component to receive the needed context.

The route where this component is shown has to be specified in ReactBricks's configuration parameter editorPath.

Usage example

import React from 'react'
import { Admin, Editor } from 'react-bricks'

const EditorPage = () => {
return (
<Admin>
<Editor />
</Admin>
)
}

export default EditorPage