thumbtack/thumbprint

Rethink Button and Link components

Opened this issue · 3 comments

danoc commented

This refers to these four components:

  • Button and ThemedLink
  • Link and TextButton

Problems with the current components

There are a handful of open issues related to these components:

And these are issues that aren't already captured:

  • Link and TextButton don't allow for 100% width.
  • <Link theme="inherit" /> and <TextButton theme="inherit" /> is clunky API and doesn't work for complex layouts.
danoc commented

@dcapo. @lavelle — Does this capture the problems well?

Would also be good to add the event argument to the onBlur and onFocus methods of these components, as we do for others like TextArea and Dropdown