import { Separator, Flex, VStack } from '@chakra-ui/react'; import React from 'react'; import { Badge } from 'toolkit/chakra/badge'; import { Skeleton } from 'toolkit/chakra/skeleton'; 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 ( } textStyle="sm" flexGrow={ 1 } w="100%" > { methodId } { rightSlot } { methodCall } ); }; export default LogDecodedInputDataHeader;