import React from 'react'; import { cn } from 'lib/utils/cn'; import { Badge } from '@luxfi/ui/badge'; import { Skeleton } from '@luxfi/ui/skeleton'; interface Props { methodId: string; methodCall: string; isLoading?: boolean; rightSlot?: React.ReactNode; } interface ItemProps extends React.HTMLAttributes { label: string; children: React.ReactNode; isLoading?: boolean; } const Item = ({ label, children, isLoading, className, ...rest }: ItemProps) => { return (
{ label } { children }
); }; const LogDecodedInputDataHeader = ({ methodId, methodCall, isLoading, rightSlot }: Props) => { return (
{ methodId } { rightSlot }
{ methodCall }
); }; export default LogDecodedInputDataHeader;