File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1- import type { HTMLChakraProps } from '@chakra-ui/react' ;
1+ import type { BoxProps , HTMLChakraProps } from '@chakra-ui/react' ;
22import { Box , Flex , chakra } from '@chakra-ui/react' ;
33import React from 'react' ;
44
@@ -12,8 +12,8 @@ interface Props {
1212 className ?: string ;
1313 rightSlot ?: React . ReactNode ;
1414 beforeSlot ?: React . ReactNode ;
15- textareaMaxHeight ?: string ;
16- textareaMinHeight ?: string ;
15+ textareaMaxHeight ?: BoxProps [ 'maxH' ] ;
16+ textareaMinHeight ?: BoxProps [ 'minH' ] ;
1717 showCopy ?: boolean ;
1818 isLoading ?: boolean ;
1919 contentProps ?: HTMLChakraProps < 'div' > ;
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ const TxRawTrace = ({ txQuery }: Props) => {
6868
6969 const text = JSON . stringify ( dataToDisplay , undefined , 4 ) ;
7070
71- return < RawDataSnippet data = { text } isLoading = { isPlaceholderData } /> ;
71+ return < RawDataSnippet data = { text } isLoading = { isPlaceholderData } textareaMaxHeight = { { base : '400px' , lg : '600px' } } /> ;
7272} ;
7373
7474export default TxRawTrace ;
You can’t perform that action at this time.
0 commit comments