pull/53/head
Asabeneh 4 years ago committed by momin-riyadh
parent 3a38fa10c9
commit 55ef2d4c1b

@ -14,7 +14,7 @@ const hexaColor = () => {
} }
const HexaColor = () => { const HexaColor = () => {
let bgColor = hexaColor() const bgColor = hexaColor()
const styles = { const styles = {
height: '100px', height: '100px',
display: 'flex', display: 'flex',
@ -62,7 +62,7 @@ const TechList = () => {
} }
const buttonStyles = { const buttonStyles = {
padding: '10px 20px', padding: '10px 20px',
background: 'rgb(0, 255, 0', background: 'rgb(0, 255, 0)',
border: 'none', border: 'none',
borderRadius: 5, borderRadius: 5,
} }
@ -79,6 +79,8 @@ const Main = () => (
</ul> </ul>
<UserCard /> <UserCard />
<div> <div>
{/* Generate two different hexa colors every time */}
<HexaColor />
<HexaColor /> <HexaColor />
</div> </div>
</div> </div>

Loading…
Cancel
Save