mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-13 05:48:36 +03:00
implements first attempt of unlocated bars
needs profiling and better calculated styles
This commit is contained in:
@@ -9,18 +9,12 @@ export default ({
|
||||
styleProps,
|
||||
extraRender
|
||||
}) => (
|
||||
<g
|
||||
className='datetime'
|
||||
transform={`translate(${x}, ${y})`}
|
||||
onClick={() => onSelect(events)}
|
||||
>
|
||||
<circle
|
||||
className='event'
|
||||
cx={0}
|
||||
cy={0}
|
||||
style={styleProps}
|
||||
r={5}
|
||||
/>
|
||||
{ extraRender ? extraRender() : null }
|
||||
</g>
|
||||
<circle
|
||||
onClick={onSelect}
|
||||
className='event'
|
||||
cx={x}
|
||||
cy={y}
|
||||
style={styleProps}
|
||||
r={5}
|
||||
/>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user