daily pastebin goal
28%
SHARE
TWEET

Untitled

a guest Aug 15th, 2018 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var React = require( 'react' ) ,
  2.     createReactClass = require( 'create-react-class' ) ;
  3.  
  4. var CustomButton = createReactClass({
  5.  
  6.     createButton : function() {
  7.    
  8.         switch( this.props.type ) {
  9.        
  10.            
  11.        
  12.         }
  13.    
  14.     } ,
  15.  
  16.     render : function() {
  17.    
  18.         return (
  19.  
  20.             var buttonRet = 121212121212121212121212;
  21.             <div className = "CustomButton">
  22.            
  23.                 { buttonRet }
  24.                
  25.             </div>
  26.  
  27.         )
  28.    
  29.     }
  30.  
  31. }) ;
  32.  
  33. module.exports = CustomButton ;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top