wordpress-seo icon indicating copy to clipboard operation
wordpress-seo copied to clipboard

UI library: abstract default "field" implementation

Open BobBreukhoven opened this issue 2 years ago • 0 comments

https://yoast.atlassian.net/browse/DUPP-832

In the UI library the fields all have a label, status (previously errors) and description.

We could move this to an abstraction (maybe a HoC or a component with as prop).

This purpose of this would be that the default implementation would be easier to write and maintain. Of course, if a component would require special things, those can keep their own implementation.

BobBreukhoven avatar Jan 06 '23 10:01 BobBreukhoven