Creating a custom component

A component is a presentational element in a page layout. Some of the components we see in the drawing tool include content (like presentation or list), input (like radio or toggles), data (like file upload or tables), and charts (like bar chart or line chart).

Here is how you can create a new custom component
  1. Create a React.Component class for the component, with a render() method.
  2. Define the CSS styles you would like for the component.
  3. Declare the custom component in a new player.

A boilerplate project for writing custom page components can be found here.


Check out: