react access scss variables

Solutions on MaxInterview for react access scss variables by the best coders in the world

showing results for - "react access scss variables"
Celestia
31 Jul 2017
1const appBarElement = document.querySelector('.appBar');
2if (appBarElement) {
3  const style = window.getComputedStyle(appBarElement);
4  const position = style.getPropertyValue('position');
5  console.log(position);
6}