react-event-timeline icon indicating copy to clipboard operation
react-event-timeline copied to clipboard

Need a way of styling the createdAt date string

Open derek-groupmail opened this issue 6 years ago • 1 comments

I have a TimelineEvent which I'm using in a dark theme and so the default text colour for the createdAt date attribute is too dark against the dark theme background and doesn't show up very well!

I would like to restyle the createdAt date however none of the existing style props appear to affect the createdAt styling! I've tried all the various styles e.g. style, titleStyle, subtitleStyle etc and none of them can be used to modify the createdAt date styling.

The only way to override this it seems is to either just use my own css or perhaps render the createdAt attribute as a Dom node and attach my own custom styling to that, though I haven't tried that yet.

Am I missing something? Is there an easy declarative way of setting the styling on createdAt?

Thanks!

derek-groupmail avatar Oct 13 '19 12:10 derek-groupmail

I would also like this functionality.

zahin-mohammad avatar Jun 02 '20 03:06 zahin-mohammad