create-expo-cljs-app
Version:
Create a react native application with Expo and Shadow-CLJS!
29 lines (24 loc) • 555 B
Flow
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
* @flow strict
*/
;
import type {SchemaType, NativeModuleSchema} from '../../../CodegenSchema.js';
function wrapModuleSchema(
nativeModuleSchema: NativeModuleSchema,
hasteModuleName: string,
): SchemaType {
return {
modules: {
[hasteModuleName]: nativeModuleSchema,
},
};
}
module.exports = {
wrapModuleSchema,
};