Returns the slot the specified component is attached on.
The component you want to find the slot of.
The slot the component is attached to.