Advertisement
Guest User

Untitled

a guest
Jul 30th, 2016
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. // This is _not_ supposed to be a real API. It's only intended to describe what
  2. // I'm looking for. It's almost intentionally awful.
  3.  
  4. export const buttonHook = new OverrideHook({
  5. properties: ['margin'],
  6. });
  7.  
  8. export default function Button(props) {
  9. return (
  10. <button
  11. {...props}
  12. type="button"
  13. className={classNames(
  14. props.className,
  15. buttonClassName,
  16. buttonHook.className
  17. )}
  18. />
  19. );
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement