Update EditInPlace to use Antd components

Merged
GA
7y ago
+32-24

What type of PR is this? (check all applicable)

  • Refactor

Description

This updates EditInPlace to use Antd components instead of rd-form.

I considered using Antd's Typography, but it's not 100% the same thing and Typography doesn't seem to support multi-line with Shift+enter or Textarea as editor.

Anyway, most of the existing EditInPlace's didn't change, aside from the titles that now have a smaller font-size when being edited:

Before
before

After
after

Also took the opportunity to allow className in the component.