To avoid confusion I recommend to stop saying “stateless component” when you mean “function component”. It was never right anyway (class can also be stateless).
There are function and class components. Both can be stateful or stateless but that’s an implementation detail.