edbrsk / d3-stencil

Charts built with D3 and Stencil. Framework-agnostic, simple.
https://d3-stencil.dev
MIT License
67 stars 15 forks source link

How to import a component ? #128

Open goulu opened 4 years ago

goulu commented 4 years ago

Sorry for the dumb question, but how do I import a D3-stencil component from my React app ?

I tried many {PieChart} and /components variations, but still

import React from 'react';

import {Graph} from 'd3-stencil'; // OK
import {PieChart} from 'd3-stencil'; // Not OK