mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-12 21:38:35 +03:00
allow custom styles in datetimes passed from Timeline
This commit is contained in:
@@ -212,9 +212,10 @@ class Timeline extends React.Component {
|
||||
}
|
||||
|
||||
styleDatetime(timestamp) {
|
||||
return {
|
||||
fill: 'orange'
|
||||
}
|
||||
return [
|
||||
{ fill: 'orange' },
|
||||
() => <text>ciao</text>
|
||||
]
|
||||
}
|
||||
|
||||
render() {
|
||||
|
||||
Reference in New Issue
Block a user