DefinitelyTyped/types/react-timeago
Mike Martin b87418f945 Genericize ReactTimeago by ComponentType (#36123)
* Genericize ReactTimeago by ComponentType

This allows properties from `component` to be added to `TimeAgo` without throwing an error.
e.g.
```
<TimeAgo<typeof Text>
  component={Text}
  style={[styles.lastActiveText, { fontSize: activeBubbleSize * 0.588 }]}
  date={lastActiveAt}
/>
```
Type inferencing not working yet, so must specify generic in order to add properties from `component`

* Removing RN dep

* Stylefix and updating TS to 2.9
2019-06-15 23:30:58 -07:00
..
index.d.ts
react-timeago-tests.tsx
tsconfig.json
tslint.json