CreateEmployees() → {ReactElement}
Component to display the form to create a new employee.
- Source
Returns:
The rendered CreateEmployees component.
- Type:
- ReactElement
Methods
(async, inner) fieldsValidation(newUserData) → {Boolean}
Validate if the fields have correctly been filled.
Parameters:
Name | Type | Description |
---|---|---|
newUserData | Object | All the fields to be validated |
- Source
Returns:
- Fields are validated or not
- Type:
- Boolean
(inner) showCreationForm() → {ReactElement}
Function to display the form .
- Source
Returns:
The rendered CreateEmployees form.
- Type:
- ReactElement