React Conditional Import / Conditional CSS Import

A react conditional import, especially useful for conditional CSS import.

PROBLEM

Have you ever tried to conditionally import React components or CSS file? The first instinct you have is to do a conditional import using if-else.