react-native-chart-kit
Version:
Beautiful React Native charts for dashboards, reports, and data-rich mobile apps.
14 lines (13 loc) • 1 kB
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import "./ensureConsole";
import Svg, { Circle, Defs, G, Line, Path, Rect, Text } from "react-native-svg";
import { createSvgHitRegionProps } from "./hitRegions";
export const SvgSurface = ({ children, width, height, ...props }) => (_jsx(Svg, { width: width, height: height, viewBox: `0 0 ${width} ${height}`, ...props, children: children }));
export const SvgGroup = ({ children, ...props }) => (_jsx(G, { ...props, children: children }));
export const SvgPath = (props) => _jsx(Path, { ...props });
export const SvgRect = (props) => _jsx(Rect, { ...props });
export const SvgHitRegion = (props) => (_jsx(Rect, { ...createSvgHitRegionProps(props) }));
export const SvgCircle = (props) => _jsx(Circle, { ...props });
export const SvgText = ({ children, ...props }) => (_jsx(Text, { ...props, children: children }));
export const SvgLine = (props) => _jsx(Line, { ...props });
export const SvgDefs = ({ children }) => _jsx(Defs, { children: children });