This fixes a broken test for the <Button> component.
The fix corrects the test for the current way the <Button> is written, but I would like to rewrite the button using the proposed excludeProps function in https://github.com/vhx/quartz-react/pull/8 instead of an attrs object.
This fixes a broken test for the
<Button>
component.The fix corrects the test for the current way the
<Button>
is written, but I would like to rewrite the button using the proposedexcludeProps
function in https://github.com/vhx/quartz-react/pull/8 instead of anattrs
object.This is related to my comment here: https://github.com/vhx/quartz-react/pull/2
Using
excludeProps
we could write a button like:<Button id='123'>
Without it, we have to do:<Button attrs={{ id: '123' }}>