Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add React-compatible camelCase prop <time dateTime> #179

Closed
yhatt opened this issue Jul 21, 2020 · 0 comments · Fixed by #182
Closed

Add React-compatible camelCase prop <time dateTime> #179

yhatt opened this issue Jul 21, 2020 · 0 comments · Fixed by #182
Labels
enhancement New feature or request

Comments

@yhatt
Copy link
Owner

yhatt commented Jul 21, 2020

jsx-slack has supported HTML style <time datetime> attribute. On the other hand, React uses camelCase prop <time dateTime> normally. Both will work in React but not in jsx-slack.

For compatibility of React JSX, it's good to add an alias prop dateTime for datetime attribute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant