 
 Button = ({ type, children, onClick }) ->
 
-  <button
-    onClick={onClick}
-    className={cx 'kdbutton', 'GenericButton', type}
-    children={children}
-  />
+  <button onClick={onClick} className={cx 'kdbutton', 'GenericButton', type}>
+    <span children={type.toUpperCase()} />
+  </button>
 
 
 onReject = (machine) ->


module.exports = SharingWidget = ({ machine, coordinates }) ->

  <SidebarWidget onClose={onClose} coordinates>

    <SidebarWidgetUser owner={machine.getOwner()} />
    <SidebarWidgetTitle children={text} />


  </SidebarWidget>


Buttons = ({ children }) ->

  <div className='button-wrapper'>{children}</div>
