diff --git a/packages/patternfly-4/react-core/src/components/Select/Select.d.ts b/packages/patternfly-4/react-core/src/components/Select/Select.d.ts index 04f8a94e358..e18fb7a1032 100644 --- a/packages/patternfly-4/react-core/src/components/Select/Select.d.ts +++ b/packages/patternfly-4/react-core/src/components/Select/Select.d.ts @@ -6,9 +6,9 @@ export interface SelectProps extends Omit, 'onChange value?: any; isValid?: boolean; isDisabled?: boolean; - onBlur(event: React.FormEvent): void; - onFocus(event: React.FormEvent): void; - onChange(event: React.FormEvent): void; + onBlur?(event: React.FormEvent): void; + onFocus?(event: React.FormEvent): void; + onChange?(event: React.FormEvent): void; } declare const Select: React.SFC; diff --git a/packages/patternfly-4/react-core/src/components/TextInput/TextInput.d.ts b/packages/patternfly-4/react-core/src/components/TextInput/TextInput.d.ts index d5660b8d528..ea1b109aef3 100644 --- a/packages/patternfly-4/react-core/src/components/TextInput/TextInput.d.ts +++ b/packages/patternfly-4/react-core/src/components/TextInput/TextInput.d.ts @@ -9,7 +9,7 @@ export interface TextInputProps extends Omit, 'type' isValid?: boolean; isDisabled?: boolean; isAlt?: boolean; - onChange(checked: boolean, event: FormEvent): void; + onChange?(checked: boolean, event: FormEvent): void; isReadOnly?: boolean; 'aria-label'?: string; }