Using Setselectionrange With React Functional Component Codesandbox

Using Setselectionrange With React Functional Component Codesandbox