@react-native-segmented-control/segmented-control
Version:
React Native SegmentedControlIOS library
20 lines (16 loc) • 590 B
JavaScript
/**
* 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.
*
* @flow
*/
;
import {requireNativeComponent} from 'react-native';
import type {HostComponent} from 'react-native/Libraries/Renderer/shims/ReactNativeTypes';
import type {SegmentedControlProps} from './types';
type NativeSegmentedControlIOS = HostComponent<SegmentedControlProps>;
module.exports = ((requireNativeComponent(
'RNCSegmentedControl',
): any): NativeSegmentedControlIOS);