diff options
author | Paul Frazee <pfrazee@gmail.com> | 2022-12-05 13:59:13 -0600 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2022-12-05 13:59:13 -0600 |
commit | 73c84f6f64d70473da6f77675a00c7e222d4dfee (patch) | |
tree | 3e2a9c0e7973862b250693c9bc0e32a390e31d67 /src/view/com/util/ProgressCircle.tsx | |
parent | 39bab0bb08c0fbe1a3deeeb5178e97ac15242bcd (diff) | |
download | voidsky-73c84f6f64d70473da6f77675a00c7e222d4dfee.tar.zst |
Better sized and more informative character counter
Diffstat (limited to 'src/view/com/util/ProgressCircle.tsx')
-rw-r--r-- | src/view/com/util/ProgressCircle.tsx | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/view/com/util/ProgressCircle.tsx b/src/view/com/util/ProgressCircle.tsx deleted file mode 100644 index 0e425a6e6..000000000 --- a/src/view/com/util/ProgressCircle.tsx +++ /dev/null @@ -1,20 +0,0 @@ -import {View} from 'react-native' -import {CircularProgressbar, buildStyles} from 'react-circular-progressbar' - -const ProgressCircle = ({ - color, - progress, -}: { - color?: string - progress: number -}) => { - return ( - <View style={{width: 20, height: 20}}> - <CircularProgressbar - value={progress * 100} - styles={buildStyles({pathColor: color || '#00f'})} - /> - </View> - ) -} -export default ProgressCircle |