You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`$ yarn tsc:watch`: Typescript checking with watching;
229
228
229
+
### Commit messages
230
+
231
+
Commit messages should follow the [commit message convention](https://conventionalcommits.org/) so, changelogs could be generated automatically by that. Commit messages are validated automatically upon commit. If you aren't familiar with the commit message convention, you can use yarn commit (or `npm run commit`) instead of git commit, which provides an interactive CLI for generating proper commit messages.
|**uniquekey**|`String`| random unique id | Use the same value of prop key, that will solve inconsistency on the SSR. |
64
+
**`animate?: boolean`**
65
+
66
+
Defaults to `true`. Opt-out of animations with `false`
67
+
68
+
**`ariaLabel? string | boolean`**
69
+
70
+
Defaults to `Loading interface...`. It's used to describe what element it is. Use `false` to remove.
71
+
72
+
**`speed?: number`**
73
+
74
+
Defaults to `2`. Animation speed in seconds.
75
+
76
+
**`className? string`**
77
+
78
+
Defaults to an empty string. The classname will be set in the `<svg />` element.
79
+
80
+
**`width? number`**
81
+
82
+
Defaults to `400`. It will be set in the viewbox attr in the `<svg />`.
83
+
84
+
**`height? number`**
85
+
86
+
Defaults to `130`. It will be set in the viewbox attr in the `<svg />`.
87
+
88
+
**`rtl? boolean`**
89
+
90
+
Defaults to `false`. Content right-to-left.
91
+
92
+
**`preserveAspectRatio?: string`**
93
+
94
+
Defaults to `xMidYMid meet`. Aspect ratio option of `<svg/>`. See the available options [here](https://github.com/danilowoz/react-content-loader/blob/improv/doc/src/interface.ts#L7).
95
+
96
+
**`primaryColor?: string`**
97
+
98
+
Defaults to `#f3f3f3` which is used as background of animation.
99
+
100
+
**`secondaryColor?: string`**
101
+
102
+
Defaults to `#ecebeb` which is used as the placeholder/layer of animation.
103
+
104
+
**`primaryOpacity?: string`**
105
+
106
+
Defaults to `1`. Background opacity (0 = transparent, 1 = opaque) used to solve a issue in [Safari](#safari--ios)
107
+
108
+
**`secondaryOpacity?: string`**
109
+
110
+
Defaults to `1`. Animation opacity (0 = transparent, 1 = opaque) used to solve a issue in [Safari](#safari--ios)
111
+
112
+
**`style?: React.CSSProperties`**
113
+
114
+
Defaults to an empty object.
115
+
116
+
**`uniquekey?: string`**
117
+
118
+
Defaults to random unique id. Use the same value of prop key, that will solve inconsistency on the SSR, see more [here](https://github.com/danilowoz/react-content-loader/issues/78).
0 commit comments