SHARE
TWEET

Untitled

a guest Sep 19th, 2019 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function ColorBox (props) {
  2.   return (
  3.     <div className='colorBox' style={{ backgroundColor: props.color }}></div>
  4.   )
  5. }
  6.  
  7. function ColorCode (props) {
  8.   return (
  9.     <div className='colorText'> Color :-{props.color}</div>
  10.   )
  11. }
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