DRY up LinkControl
normal and "Create" suggestions code
#20271
Labels
[Feature] Link Editing
Link components (LinkControl, URLInput) and integrations (RichText link formatting)
It would be nice if we could refactor to reduce the code duplication between this and the
LinkControlSearchCreate
above. It seems like the two receive largely the same props, with few exceptions.Originally posted by @aduth in #19775
Should be a case of creating a common props object and spreading it onto the two components. There are only 3 shared props but it's probably worth it.
The text was updated successfully, but these errors were encountered: