alex996 / alex996/react-css-spinners
CSS variables forced in style prop
Offen
- Vorherrschende Sprache
- TypeScript
- Sterne
- 61
- Forks
- 20
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Wouldn't it be better to define the default value of the CSS variables in the CSS file and to not define them via the `style` prop?
That way, it's easy to modify them in another CSS file (without having to use `!important`).
If styling props are passed, define them individually via `style`.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.