import React from "react"; import { useMethodSelector } from "../use4Bytes"; type MethodNameProps = { data: string; }; const MethodName: React.FC = ({ data }) => { const [isSimpleTransfer, methodName, methodTitle] = useMethodSelector(data); return (

{methodName}

); }; export default React.memo(MethodName);