Skip to content

Commit d1b99bb

Browse files
authored
Change default options (#78)
1 parent 983c684 commit d1b99bb

File tree

6 files changed

+396
-66
lines changed

6 files changed

+396
-66
lines changed

README.md

Lines changed: 2 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ Customizable React loading spinner that looks like an [atom](https://en.wikipedi
1010
https://bayer-group.github.io/atomic-spinner/
1111

1212
## Examples
13-
![example-atom-1](https://user-images.githubusercontent.com/8313853/210661410-c2d977d8-426c-438f-b24b-cdbfc4b506f4.svg)
14-
![example-atom-2](https://user-images.githubusercontent.com/8313853/210662408-6d3eed7e-44ca-4bdd-b190-d9fba865c1a9.svg)
13+
![example-atom-1](https://raw.githubusercontent.com/Bayer-Group/atomic-spinner/main/demo/public/example-atom-1.svg)
14+
![example-atom-2](https://raw.githubusercontent.com/Bayer-Group/atomic-spinner/main/demo/public/example-atom-2.svg)
1515

1616
## Installation
1717

@@ -34,27 +34,3 @@ const App = () => <AtomicSpinner />
3434

3535
export default App
3636
```
37-
38-
## Options
39-
40-
| prop | type | default |
41-
| ---- | ---- | ------- |
42-
| atomSize | number | 200 |
43-
| displayElectronPaths | bool | false |
44-
| displayNucleus | bool | false |
45-
| electronColorPalette | string[] | [ '#0081C9', '#5BC0F8', '#86E5FF' ] |
46-
| electronPathCount | number | 3 |
47-
| electronPathColor | string | #707070 |
48-
| electronPathWidth | number | 0.5 |
49-
| electronsPerPath | number | 2 |
50-
| electronSize | number | 1.5 |
51-
| electronSpeed | number | 0.5 |
52-
| nucleusDistanceFromCenter | number | 2.5 |
53-
| nucleusLayerCount | number | 2 |
54-
| nucleusParticlesPerLayer | number | 3 |
55-
| nucleusParticleFillColor | string | #707070 |
56-
| nucleusParticleBorderColor | string | #999999 |
57-
| nucleusParticleBorderWidth | number | 0.3 |
58-
| nucleusParticleSize | number | 2.5 |
59-
| nucleusSpeed | number | 2 |
60-
| nucleusMaskOverlap | bool | true |

demo/public/example-atom-1.svg

Lines changed: 71 additions & 0 deletions
Loading

demo/public/example-atom-2.svg

Lines changed: 259 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)