catamphetamine / javascript-time-ago

International highly customizable relative date/time formatting

Home Page:https://catamphetamine.gitlab.io/react-time-ago/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[React] React-Natitve support

KDederichs opened this issue · comments

Hey, since it's easier to just comment here than on the gitlab page I'll just drop the message here:
I tried using the React version on react-native but sadly it crashes due to the missing tag.

Would it maybe be possible to maybe add either a wrapperComponent prop for it or maybe a prop toggles passing the result string to the wrapperComenponent directly?

Best regards,

Added component property in react-time-ago@6.2.1.
https://gitlab.com/catamphetamine/react-time-ago#react-native