25 Commits

Author SHA1 Message Date
morningdew
42e2e5085f
Add missing tintColorSecondary prop type 2025-02-21 02:31:43 -06:00
Enrico Balsamo
c5df8db866 fix(types): CircularProgress type
In this PR, it is added CircularProgress type and made
AnimatedCircularProgress type extend it.

These types reflect those found in the `src/` directory in `CircularProgress.js` and
`AnimatedCircularProgress.js` files.
2023-06-15 11:26:20 +02:00
Markus Lindqvist
a93b501aea Update version number to 1.3.8 2023-01-19 08:08:16 +02:00
Markus Lindqvist
87859ff684
Merge pull request #302 from LovebugLLC/master
Use deprecated-react-native-prop-types
2022-05-20 09:34:40 +03:00
Markus Lindqvist
883802ce87
Merge pull request #292 from t1gor/patch-1
Fix TS
2022-05-20 09:33:35 +03:00
AP Fritts
99c099ce4b Add deprecated-react-native-prop-types 2022-04-08 11:04:55 -07:00
Jakhongir Khusanov
b769237bc5 Add delay to animated circle 2021-10-04 14:58:13 -07:00
Igor Timoshenkov
ad81527388
Fix TS
Allow normal React.ReactChild as child component
2021-09-08 17:04:25 +03:00
Stephen Ramthun
0dc9b5efff
Update typings
The prop `fill` is marked as required in the propTypes for `CircularProgress` but is optional in the Typescript type declaration. This results in Typescript not complaining when leaving the prop empty, while propTypes generates the following warning during runtime: `Failed prop type: The prop 'fill' is marked as required in 'AnimatedCircularProgress', but its value is 'undefined'.`. The fix is to change the Typescript declaration for `fill` from optional to required.
2021-01-27 22:14:35 +01:00
Johan-dutoit
3358d3dda3 feat(linecap): add control fill line cap separately from arc line cap 2020-07-21 15:09:35 +02:00
steelbrain
ca81a026e9 🐛 Fix types for ease functions 2020-07-05 09:25:52 +05:00
aboveyunhai
bef6d3285e Fix: proptypes for tinttransparency, rename dashed fill name to tint 2020-02-20 22:50:59 -05:00
aboveyunhai
4599fb3f9f Add dashed type and transparency for bar fill 2020-02-19 23:27:11 -05:00
Markus Lindqvist
ac713d0e63 Published version 1.3.2 2019-10-20 17:57:31 +03:00
fecortez
b192139f41 Add dashed type for background 2019-09-26 14:24:25 -03:00
Alec Winograd
5a11d0ea4f Add ability to render a custom cap over the progress circle
Adds two new props

* padding - adds space around the circle to allow for a cap that bleeds over without clipping
* renderCap - a function that returns the Svg component to draw
2019-09-13 16:39:14 -05:00
Alec Winograd
04642bc9f9
Update animate() return type 2019-09-12 12:20:37 -05:00
Konrad Jaglowski
19c1fc77e4 Delete test id prop type 2019-09-12 12:01:53 +02:00
Konrad Jaglowski
95779f74b8 Add testID type 2019-09-12 11:18:33 +02:00
Konrad Jaglowski
040929637a Add types fix 2019-09-12 10:51:24 +02:00
Markus Lindqvist
515b6bc3c7 Add new example app. Also fix some type definitions. Version 1.2.0 2019-07-16 16:37:47 +03:00
Ray Zeller
c0449034ed Add style overrides for children container 2019-05-22 09:38:44 -06:00
gosho-kazuya
ab5123b168 fix default import of react 2019-05-11 01:16:07 +09:00
Aylan Boscarino
070809c314 🔨 fixing easing attribute type 2019-04-14 15:23:34 -03:00
Aylan Boscarino
04af6d6a41 Added types to AnimatedCircularProgress 2019-04-14 15:18:28 -03:00