functionalize (npm): use modal component just like function
Keywords: frontend|react|react-component|modal|function|function-programming|ui