Does the child component has access to parent component states in react?

Not directly, no, that is what props is for. You pass values to components via props. This is the way React works: components don’t inherit anything automatically (so therefore you can put them wherever you want), they just use whatever parameters you give them as props. If they automatically inherited state from parents it would very quickly become impossible to manage the code.