diff --git a/src/index.tsx b/src/index.tsx index c7b093f..bcdcb43 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -18,7 +18,7 @@ export default class Flipside { render(, element); } - spectrumPlot(el: string, opts: SpectrumPlotProps): void { + spectrum(el: string, opts: SpectrumPlotProps): void { const element = document.getElementById(el); render(, element); }