Skip to content

findDOMNode is depreciateed #336

@clinicamaniladev

Description

@clinicamaniladev
import { useRef } from 'react';
import { ReactFormBuilder } from 'react-form-builder2';

const Information = () => {
  var items = [
    {
      key: 'Header',
      name: 'Header Text',
      icon: 'fa fa-header',
      static: true,
      content: 'Placeholder Text...',
    },
    {
      key: 'Paragraph',
      name: 'Paragraph',
      static: true,
      icon: 'fa fa-paragraph',
      content: 'Placeholder Text...',
    },
  ];

  return (
    <div>
      <ReactFormBuilder toolbarItems={items} />
    </div>
  );
};

export default Information;

is there a way to fix this error below?

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions