Open IreneStr opened 7 years ago
To recap, the Help Center button has 3 different stylings:
on My Yoast:
on the Plugin settings pages:
on the Plugin post meta box:
I'm not sure passing tons of props to have the 3 different stylings is the best option. Maybe implementing a buttonTheme
prop that completely switches the button style?
On the plugin, there should also be a way to distinguish the settings pages from the metabox and pass this to the HelpCenter component.
Currently, the HelpCenterButton that's on the post and page pages is styled in wordpress-seo. We should move the styling to Yoast Components.
Copied from https://github.com/Yoast/wordpress-seo/issues/8001#issuecomment-334722250: