Skip to content

Commit

Permalink
Update InputProps to interface
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundito committed Apr 27, 2022
1 parent 775e990 commit fe51cb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions airbyte-webapp/src/components/base/Input/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ const getBackgroundColor = (props: IStyleProps) => {
return props.theme.greyColor0;
};

export type InputProps = {
export interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
error?: boolean;
light?: boolean;
} & React.InputHTMLAttributes<HTMLInputElement>;
}

const InputContainer = styled.div<InputProps>`
width: 100%;
Expand Down

0 comments on commit fe51cb3

Please sign in to comment.