File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
src/components/VersionedCodeEditor Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 1- import type { ComponentProps , FC } from 'react' ;
1+ import type { FC } from 'react' ;
22import { Base64 } from 'js-base64' ;
33import Loading from 'src/overview/components/Loading' ;
44
@@ -9,10 +9,9 @@ import useOpenshiftClusterVersion from '@utils/hooks/useOpenshiftClusterVersion/
99import { OCP_VERSION_4_18 } from './utils/constants' ;
1010import { isVersionGte } from './utils/utils' ;
1111
12- type VersionedCodeEditorProps = Pick <
13- ComponentProps < typeof PFCodeEditor > ,
14- 'isReadOnly' | 'isDarkTheme'
15- > & {
12+ type VersionedCodeEditorProps = {
13+ isDarkTheme ?: boolean ;
14+ isReadOnly ?: boolean ;
1615 value : string | undefined ;
1716 onChange : ( encodedValue : string ) => void ;
1817 minHeight ?: string ;
You can’t perform that action at this time.
0 commit comments