Skip to content

i can't import ,can you help me ? #3

@kiloppertry

Description

@kiloppertry

i used astrochart ,it works:
import React, { useEffect } from "react";
import Chart from "@astrodraw/astrochart";
import { Origin, Horoscope } from "circular-natal-horoscope-js";

and work:

// Create and render the chart
const chart = new Chart("paper", 800, 800);
chart.radix(data);
// Cleanup function
return () => {
/* Optional cleanup operations */
};
}, []);

return

;

but i nmp install astrochart2, but i don't konw how to import this. can you help me . i use react.js 18 ,node .js

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions