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:
Kat Huang 2024-01-12 12:02:01 -07:00
commit a112586c2d
6 changed files with 3 additions and 3 deletions

View File

@ -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 {

View File

@ -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();