import _ from 'lodash'; import React from 'react'; import createClass from 'create-react-class'; import Point from './Point'; import * as chartConstants from '../../constants/charts'; export default { title: 'Visualizations/Point', component: Point, parameters: { docs: { description: { component: (Point as any).peek.description, }, }, }, }; /* Basic */ export const Basic = () => { const svgProps = { width: 20, height: 20, }; const pointProps = { x: 10, y: 10, }; const Component = createClass({ render() { return (