Skip to content

Commit

Permalink
Began converting LoginInput to TS.
Browse files Browse the repository at this point in the history
  • Loading branch information
kesdlvi committed Jan 30, 2024
1 parent 2d9f55f commit 350fb27
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,17 @@ import '../../styles/Login.scss';
* data: value inside the input
* onChange: function to be called when input changes
*/
interface LoginInputProps {
type: string;
waiting: boolean;
data: any;
onChange: any;

}

const LoginInput = function ({
type, waiting, data, onChange,
}) {
}: LoginInputProps) {
return (
<div>
<div className="login-form-input-header">{type}</div>
Expand Down

0 comments on commit 350fb27

Please sign in to comment.