react-native-charts-wrapper
Version:
A react-native charts support both android and ios.
22 lines (17 loc) • 396 B
JavaScript
import {PropTypes} from 'react';
import {
requireNativeComponent,
View
} from 'react-native';
import ChartBase from './ChartBase';
import {bubbleData} from './ChartDataConfig';
const iface = {
name: 'BubbleChart',
propTypes: {
...ChartBase.propTypes,
data: bubbleData
}
};
export default requireNativeComponent('RNBubbleChart', iface, {
nativeOnly: { onSelect: true }
});