fleet/frontend/interfaces/registration_form_data.ts
Martavis Parker 3af64748ab
Pressing Enter on setup's Confirmation page (#1141)
* #917 fixed enter key for last page; TS overhaul

* #917 clean up

* Update frontend/components/forms/FormField/FormField.tsx

Co-authored-by: Zach Wasserman <zach@fleetdm.com>

* #917 fixed tests and linted

Co-authored-by: Zach Wasserman <zach@fleetdm.com>
2021-06-18 13:33:45 -07:00

23 lines
570 B
TypeScript

import PropTypes from "prop-types";
export default PropTypes.shape({
username: PropTypes.string,
password: PropTypes.string,
password_confirmation: PropTypes.string,
email: PropTypes.string,
org_name: PropTypes.string,
org_web_url: PropTypes.string,
org_logo_url: PropTypes.string,
fleet_web_address: PropTypes.string,
});
export interface IRegistrationFormData {
username: string;
password: string;
password_confirmation: string;
email: string;
org_name: string;
org_web_url: string;
org_logo_url: string;
fleet_web_address: string;
}