feat(ds.dev): example is not a shared component
This commit is contained in:
parent
cbac621186
commit
e705da9e7f
18 changed files with 784 additions and 108 deletions
|
@ -0,0 +1,22 @@
|
|||
import React from 'react'
|
||||
|
||||
const DevelopPoint = (props) => (
|
||||
<g className={props.className}>
|
||||
<circle cx={props.point.x} cy={props.point.y} r="2" className="center" />
|
||||
<circle
|
||||
cx={props.point.x}
|
||||
cy={props.point.y}
|
||||
r="7.5"
|
||||
className="hovertrap"
|
||||
onClick={() =>
|
||||
props.raiseEvent('point', {
|
||||
point: props.point,
|
||||
name: props.name,
|
||||
part: props.part
|
||||
})
|
||||
}
|
||||
/>
|
||||
</g>
|
||||
)
|
||||
|
||||
export default DevelopPoint
|
Loading…
Add table
Add a link
Reference in a new issue