mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
5b96e90f77
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/45923 Changelog: [Internal] Reviewed By: gkz Differential Revision: D60872182 fbshipit-source-id: b81fb43968c52cbfdb4a9fa57f1175aabc2a3939
30 lines
683 B
JavaScript
30 lines
683 B
JavaScript
/**
|
|
* Copyright (c) Meta Platforms, Inc. and 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
|
|
*/
|
|
|
|
'use strict';
|
|
|
|
const {
|
|
default: SampleLegacyModuleExample,
|
|
} = require('./SampleLegacyModuleExample');
|
|
const React = require('react');
|
|
|
|
exports.displayName = (undefined: ?string);
|
|
exports.title = 'Legacy Native Module';
|
|
exports.category = 'Basic';
|
|
exports.description = 'Usage of legacy Native Module';
|
|
exports.examples = [
|
|
{
|
|
title: 'SampleLegacyModule',
|
|
render: function (): React.MixedElement {
|
|
return <SampleLegacyModuleExample />;
|
|
},
|
|
},
|
|
];
|