With the current loader/spinner, you need to have a parentBackground attribute that needs to be specified corresponding with the parent's background.
This is a problem especially if we want to use it in another component, we need to prop drill it so that we can inject the prop parentBackground to the Loader component.