1
0
Fork 0

feat(ds.dev): example is not a shared component

This commit is contained in:
Joost De Cock 2021-12-24 17:13:48 +01:00
parent cbac621186
commit e705da9e7f
18 changed files with 784 additions and 108 deletions

View file

@ -0,0 +1,12 @@
import React from 'react'
const Circle = (props) => (
<circle
cx={props.point.x}
cy={props.point.y}
r={props.point.attributes.get('data-circle')}
{...props.point.attributes.asPropsIfPrefixIs('data-circle-')}
/>
)
export default Circle