Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dabbott/react-native-express
/ randomColor
Function
randomColor
examples/files/react/inlineStyles.js:4–4 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
2
import
{ render } from
'react-dom'
3
4
const
randomColor = () =>
'#'
+ Math.random().toString(16).substr(-6)
5
6
const
Card = ({ color, children }) => {
7
return
(
Callers
1
App
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected