Merge pull request 'charts folder in component' (#19) from loewy/add-charts-folder into master
Reviewed-on: billnerds/rn-playground#19 Reviewed-by: Kat Huang <kkathuang@gmail.com>
This commit is contained in:
commit
a112586c2d
@ -1,6 +1,6 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { G, Line } from 'react-native-svg';
|
import { G, Line } from 'react-native-svg';
|
||||||
import { colors } from '../styles';
|
import { colors } from '../../styles';
|
||||||
import { ScaleFunction } from './graph-types';
|
import { ScaleFunction } from './graph-types';
|
||||||
|
|
||||||
interface CustomGridProps {
|
interface CustomGridProps {
|
@ -3,8 +3,8 @@ import { render } from '@testing-library/react-native';
|
|||||||
import "@testing-library/jest-native/extend-expect";
|
import "@testing-library/jest-native/extend-expect";
|
||||||
import * as scale from 'd3-scale'
|
import * as scale from 'd3-scale'
|
||||||
|
|
||||||
import { CustomBars } from '../../component/custom-bars';
|
import { CustomBars } from '../../component/charts/custom-bars';
|
||||||
import { calculateBarOrigin, drawBarPath } from '../../component/custom-bar-utils';
|
import { calculateBarOrigin, drawBarPath } from '../../component/charts/custom-bar-utils';
|
||||||
|
|
||||||
|
|
||||||
const mockYScaleFunction = scale.scaleLinear();
|
const mockYScaleFunction = scale.scaleLinear();
|
||||||
|
Loading…
Reference in New Issue
Block a user