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