Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function ColorBox (props) {
- return (
- <div className='colorBox' style={{ backgroundColor: props.color }}></div>
- )
- }
- function ColorCode (props) {
- return (
- <div className='colorText'> Color :-{props.color}</div>
- )
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement