I am coding with react. Now I have two components A and B, and B is a sub-component of A.
Div in A is the parent node of B, and I import classA for div A, classB for B.