alex996 / alex996/react-css-spinners

CSS variables forced in style prop

Aperta
#10 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
61
Fork
20
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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`.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.