PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.17.0
GiveWP – Donation Plugin and Fundraising Platform v4.17.0
4.17.0 4.16.9 4.16.8.1 4.16.8 4.16.7.2 4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 2.3.2 All 256 releases
give / src / MultiFormGoals / resources / js / components / progress-bar / index.js

index.js in GiveWP – Donation Plugin and Fundraising Platform 4.17.0, at src/MultiFormGoals/resources/js/components/progress-bar/index.js

32 lines 792 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 const ProgressBar = (props) => {
2 const styles = {
3 wrapper: {
4 padding: '5px',
5 },
6 container: {
7 height: '20px',
8 overflow: 'hidden',
9 borderRadius: '14px',
10 backgroundColor: '#F1F1F1',
11 boxShadow: 'inset 0px 1px 4px rgba(0, 0, 0, 0.09487)',
12 },
13 progress: {
14 width: props.percent + '%',
15 height: 'inherit',
16 borderRadius: 'inherit',
17 background: props.color,
18 backgroundBlendMode: 'multiply',
19 },
20 };
21
22 return (
23 <div style={styles.wrapper}>
24 <div style={styles.container}>
25 <div style={styles.progress}></div>
26 </div>
27 </div>
28 );
29 };
30
31 export default ProgressBar;
32