Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
builder.add(child.name, () => {
if (Platform.OS === "web") {
addUserStateKnobs(child.defaultUserState);
}
return strictMode ? (
{child.component(...args)}
) : (
child.component(...args)
);
});
}