Skip to content
This repository was archived by the owner on Feb 22, 2022. It is now read-only.

Commit 3d335af

Browse files
evidolobgbraad
authored andcommitted
fix types
Signed-off-by: Yevhen Vydolob <[email protected]>
1 parent 0c8739d commit 3d335af

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

src/components/Configuration.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import "./Configuration.scss";
1313
import PresetSelection from './PresetSelection';
1414

1515
export interface ConfigurationProps {
16-
readonly height: number;
16+
readonly height: string;
1717
readonly textInputWidth: number;
1818
onPullsecretChangeClicked: (event: React.SyntheticEvent) => void;
1919
onSaveClicked: (state: State) => void;
@@ -35,7 +35,6 @@ export interface State {
3535
}
3636
export default class Configuration extends React.Component<ConfigurationProps> {
3737
static propTypes = {
38-
onValueChanged: PropTypes.func,
3938
onSaveClicked: PropTypes.func,
4039
onResetClicked: PropTypes.func,
4140
onPullsecretChangeClicked: PropTypes.func,

src/components/LogWindow.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ interface State {
77
readonly log: string;
88
}
99
export interface LogWindowProps {
10-
readonly width: string;
11-
readonly height: string;
10+
readonly width?: string;
11+
readonly height?: string;
1212
readonly rows: number | undefined;
1313
readonly cols: number | undefined;
1414
}

src/components/PresetSelection.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export interface PresetSelectionProps {
88
readonly value: string;
99
readonly podmanDescription: string;
1010
readonly openshiftDescription: string;
11-
readonly isCompact: boolean;
11+
readonly isCompact?: boolean;
1212
readonly id?: string;
1313
readonly className?: string;
1414
onPresetChange?: (value: string) => void;

0 commit comments

Comments
 (0)