Wojciech Lewicki
286c02fac4
Refactor typescript code ( #1806 )
...
Co-authored-by: Eric Butler <eric@codebutler.com >
2022-07-22 17:41:30 +02:00
dependabot[bot]
05b3f28a84
chore(deps): bump async from 2.6.3 to 2.6.4 in /Example ( #1759 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-15 12:21:13 +02:00
Wojciech Lewicki
68de5f8170
Update README.md
2022-04-27 15:26:35 +02:00
dependabot[bot]
cf3d817a2b
chore(deps): bump ansi-regex from 4.1.0 to 4.1.1 in /Example ( #1750 )
...
bump some more deps from dependabot
2022-04-12 16:26:06 +02:00
dependabot[bot]
84e307433b
chore(deps): bump many deps with dependabot
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-12 14:50:25 +02:00
Wojciech Lewicki
1b01381f28
feat: remove extractColor in favor of RN impl ( #1726 )
...
PR removing extractColor.ts in favor of using the processColor implementation straight from react-native. It should handle all the cases from the previous implementation and the cases with PlatformColor and DynamicColorIOS. Normally we would just send the returned value to the native side, but in react-native-svg, e.g. fill prop can have more values than just color, e.g. currentColor. Because of it, we cannot use UIColor on iOS, NSColor on macOS and customType="Color" on Android as a prop type there and therefore we need to prepare the custom values on the JS side. It is done by passing the prop as an array with specific first element. In case of colors, it is 0. (hopefully I understood the code right).
2022-04-12 13:47:21 +02:00
Mathieu Acthernoene
2fa9645cf6
Add web example ( #1717 )
...
Added web example to `Example`
2022-03-07 12:16:50 +01:00
Wojciech Lewicki
2484baa8db
feat: move Example to TS ( #1712 )
...
This PR changes all examples in Example app to ts in order to more easily check if types are correct and in future remove index.d.ts file.
2022-03-01 14:35:53 +01:00
Wojciech Lewicki
bac4986a23
feat: add macos CI ( #1704 )
...
PR adding macOS configuration to Example app and adding CI job for building the app on macOS.
2022-02-24 14:44:17 +01:00
Wojciech Lewicki
14c1124e6f
fix: try add gradle-wrapper
2022-02-22 10:16:43 +01:00
Wojciech Lewicki
522c2e31f8
chore: add Example to repo
2022-02-21 16:17:37 +01:00
Mikael Sand
a9f425f306
fix: remove example submodule
2019-08-27 18:09:22 +03:00
Mikael Sand
cc77c83956
Update Example reference
2018-02-12 01:34:50 +02:00
Horcrux
cc38ce3b57
Add example as submodule
2017-01-18 13:58:51 +08:00
Horcrux
80647727bd
Remove example
2017-01-18 13:52:19 +08:00
Horcrux
da32b1bb96
Temp commit
2016-11-05 18:42:49 +08:00
Horcrux
ed2da1b364
Merge branch 'master' into text-refactor
2016-09-17 21:06:33 +08:00
Horcrux
d549f6ca9c
clean up unused code
2016-09-17 09:49:28 +08:00
Horcrux
a0005fadbd
fix eslint warning
2016-09-14 19:47:26 +08:00
Horcrux
699ec64807
update gradle and ESLint related dependencies
2016-09-14 19:40:04 +08:00
Brent Vatne
3d4974942a
Make the example project compatible with Exponent and publish it
2016-09-13 21:02:28 -07:00
Horcrux
68b91bb12c
update example react-native version to 0.33.0
2016-09-13 10:48:54 +08:00
Horcrux
bd26c04a1d
first step of TSpan
2016-08-30 09:37:38 +08:00
Horcrux
001835b7c1
fix crash when the text letter reaches the end of text-path
2016-08-26 10:15:59 +08:00
Horcrux
4251854948
fix #118
...
fix #118 and change peerDependencies
bump to 4.2.0
2016-08-26 09:25:51 +08:00
Horcrux
9f5b1a26bb
never setState after component is unmounted
2016-08-24 18:03:53 +08:00
Horcrux
371cf51b0d
bump version to 4.1.5
2016-08-24 17:40:32 +08:00
Horcrux
69a94d0fc3
remove unnecessary comments
2016-08-24 11:59:25 +08:00
Horcrux
c9a64c44fc
update example`s react-naitve version to 0.31.0
2016-08-19 16:02:05 +08:00
Horcrux
d1afb78da0
Add preserveAspectRatio prop for Image
...
Add preserveAspectRatio prop for Image.
Fix touch events for Image on Android.
Fix viewBox slice bug on Android.
2016-08-13 14:03:08 +08:00
Horcrux
e747cc82a6
Add support to base64 data from svg
...
use `svgRef.toDataURL(function (base64) {console.log(base64);});` to get
base64 data of svgRef
2016-08-12 11:13:27 +08:00
Horcrux
857b5f5207
Fix Image not rendering the first time svg is displayed
...
Fix Image not rendering the first time svg is displayed
Add toDataURL method for Svg elements for Android (not finished yet)
2016-08-11 16:27:15 +08:00
Horcrux
76a3e8e32d
add toDataURL method for svg elements
...
Add toDataURL method for svg elements to get data64 data of svg.(iOS)
Add example for this.
2016-08-10 16:54:48 +08:00
Horcrux
7c01f07fca
Add pan responder example
2016-08-07 00:32:07 +08:00
Horcrux
6ebd928ab4
fix Text cannot handle touch events bug
2016-08-06 23:17:38 +08:00
Horcrux
43de62650b
fix memory leaks
2016-08-06 22:57:15 +08:00
Horcrux
7f4eb47f81
fix touch events within the elements which are nested in G
2016-08-06 21:37:58 +08:00
Horcrux
e9ff8dc86a
fix missing circle word
2016-08-06 10:04:04 +08:00
Horcrux
9cd092c918
Add Example to draw a pie by stroke with circle
2016-08-06 09:45:47 +08:00
Horcrux
72ca2cc573
Add nested G on touchEvents Example
2016-08-06 09:29:38 +08:00
Horcrux
076e6c1304
modify the examples
2016-08-05 17:04:08 +08:00
Horcrux
5482a667ca
Add G touch events on Android
2016-08-01 13:38:46 +08:00
Horcrux
6c7c2fdf3f
Add touch events support for G elements
2016-07-31 22:01:14 +08:00
Horcrux
ab064d86e0
fix #84
2016-07-27 18:10:40 +08:00
Horcrux
f2ee72bb76
Improve examples and document
2016-07-27 11:34:42 +08:00
Horcrux
28fa1cd091
refactor gradients on Android merge #86 into branch
2016-07-26 17:17:48 +08:00
Horcrux
9888a1adf2
add viewBox support for android
2016-07-26 11:37:31 +08:00
Horcrux
a2598a5591
native prop tranform => trans,fix defs typo
2016-07-25 11:15:39 +08:00
Horcrux
c846c59ed6
change example bundle id
2016-07-24 12:12:32 +08:00
Horcrux
05c4bff04a
ArtSvgExample => SvgExample
2016-07-24 12:08:15 +08:00