Commit Graph
14 Commits
Author SHA1 Message Date
Greg Bergé e9c9d2fbfb v5.4.0 2020-04-27 22:19:51 +02:00
Greg Bergé 8c6f7b560e style: prettier format 2020-04-27 22:15:25 +02:00
Piotr 1b56b85147 feat: add ForeignObject support for react native (#430) 2020-04-27 21:10:39 +02:00
Greg Bergé 2c0863b682 v5.0.1 2019-12-29 10:29:39 +01:00
Greg Bergé 707af48389 chore: add homepage to package 2019-12-29 10:28:58 +01:00
Greg Bergé 420cc458d6 chore: smooth-code -> gregberge 2019-12-24 10:57:52 +01:00
Greg Bergé a45d6fc8b4 fix: fix engines in package.json 2019-12-24 10:43:35 +01:00
Greg Bergé cfc0fc2786 v5.0.0 2019-12-23 15:06:22 +01:00
Greg Bergé 35d3f4d446 v4.2.0 2019-04-11 09:01:20 +02:00
Edward Paget 978db3e6c2 feat: add expo option (#289)
Using an ejected ExpoKit after version 32 prevents `import Svg from
'react-native-svg';` from working, and also prevents the developer from adding
'react-native-svg' as a direct dependency since ExpoKit already provides the
library just behind the ExpoKit svg namespace. See
https://github.com/kristerkari/react-native-svg-transformer/issues/13

This handles that case by allowing a `expo: true` flag to be passed instead of
the `native` option and will create the correct import statement to use Expo's
SVG library as well as prefix all non `<Svg />` components with `Svg.`.
2019-04-10 16:51:31 +02:00
Maciej Barełkowski c7cdc98107 docs(packages): replace repository field with npm-friendly link (#272) 2019-02-04 14:05:13 +01:00
Greg Bergé d6beadaa99 v4.0.0 2018-11-04 16:17:06 +01:00
Greg Bergé ec1acccb7d chore(pkg): set publishConfig 2018-11-04 16:16:28 +01:00
Greg Bergé ac8b8cacc5 feat(v4): new architecture
- Replace h2x by rehype + babel
- Move jsx, prettier and svgo into separated plugins

BREAKING CHANGE:

- `template` option must now returns a Babel AST
- `@svgr/core` does not include svgo & prettier by default
2018-11-04 16:01:46 +01:00