allow custom styles in datetimes passed from Timeline

This commit is contained in:
Lachlan Kermode
2019-01-08 12:02:02 +00:00
parent 8526bf069a
commit fcfe84ce90
4 changed files with 33 additions and 49 deletions

View File

@@ -212,9 +212,10 @@ class Timeline extends React.Component {
}
styleDatetime(timestamp) {
return {
fill: 'orange'
}
return [
{ fill: 'orange' },
() => <text>ciao</text>
]
}
render() {