use function and statement in one arrow function for react js code example
Example: react arrow funvtion
//declaring arrow function
hello = () => {
return "hello world";
}
//declaring arrow function
hello = () => {
return "hello world";
}