// Copyright (C) 2020 Intel Corporation // // SPDX-License-Identifier: MIT import React from 'react'; import Form from 'antd/lib/form'; import Button from 'antd/lib/button'; import { MailOutlined } from '@ant-design/icons'; import Input from 'antd/lib/input'; export interface ResetPasswordData { email: string; } interface Props { fetching: boolean; onSubmit(resetPasswordData: ResetPasswordData): void; } function ResetPasswordFormComponent({ fetching, onSubmit }: Props): JSX.Element { return (