import { Divider, Flex, Skeleton, VStack } from '@chakra-ui/react'; import React from 'react'; import Tag from 'ui/shared/chakra/Tag'; interface Props { methodId: string; methodCall: string; isLoading?: boolean; rightSlot?: React.ReactNode; } const Item = ({ label, children, isLoading }: { label: string; children: React.ReactNode; isLoading?: boolean}) => { return ( { label } { children } ); }; const LogDecodedInputDataHeader = ({ methodId, methodCall, isLoading, rightSlot }: Props) => { return ( } fontSize="sm" lineHeight={ 5 } flexGrow={ 1 } > { methodId } { rightSlot } { methodCall } ); }; export default LogDecodedInputDataHeader;