react bootstrap css module use media query mixin code example
Example: react bootstrap css module use media query mixin
/* when using webpack and bootstrap is installed via yarn/npm*/
@import '~bootstrap/scss/functions';
@import '~bootstrap/scss/variables';
@import '~bootstrap/scss/mixins/_breakpoints';
.someClass {
@include media-breakpoint-up(md) {
/* your styles to be applied on medium screens and up */
}
}