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