CreateEmployees

CreateEmployees() → {ReactElement}

Component to display the form to create a new employee.

Returns:

The rendered CreateEmployees component.

Type: 
ReactElement

Methods

(async, inner) fieldsValidation(newUserData) → {Boolean}

Validate if the fields have correctly been filled.

Parameters:
NameTypeDescription
newUserDataObject

All the fields to be validated

Returns:
  • Fields are validated or not
Type: 
Boolean

(inner) showCreationForm() → {ReactElement}

Function to display the form .

Returns:

The rendered CreateEmployees form.

Type: 
ReactElement