Login with credentials auth0 js v9

I was trying to implement a custom login component defined inside my react app. I couldnt find anything in the docs that helps me define my own login design from scratch until i came across the loginWIthCredentials function that being said i couldnt find any documentation for it. Is it deprecated ? it is present in the build of auth0-js v9.