Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/brody2consult/create-react-native-module
/ updatePlatformInFile
Function
updatePlatformInFile
templates/index.js:6–7 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
4
const
general = require(
'./general'
);
5
6
const
updatePlatformInFile = platform => file =>
7
Object.assign({}, file, { platform });
8
9
module.exports = [].concat(
10
general,
Callers
1
index.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected