react-form-builder icon indicating copy to clipboard operation
react-form-builder copied to clipboard

findDOMNode is depreciateed

Open clinicamaniladev opened this issue 11 months ago • 1 comments

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

clinicamaniladev avatar Jan 27 '25 10:01 clinicamaniladev