React change password

Hi, how would I put together a change password feature in React? Can it be done with the okta-sign-in widget?