Skip to content

Need a way of styling the createdAt date string #65

@derek-groupmail

Description

@derek-groupmail

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions