code -
const Exne: React.FC <IProps> = ({x}) =>
{
console.log('input', x);
const [getx, assignx] = useState(x);
console.log(getx, assignx);
return(getx)
};
In this code, how to access or call Exne
from other files?
Thanks