This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Map<int, String> _shortNotationNumbers = { | |
1: 'K', | |
2: 'M', | |
3: 'B', | |
4: 'T' | |
}; | |
/// @author Sebastian Morales; | |
class LegibleFormat{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { ChangeEvent, FormEvent, useState } from "react"; | |
/** | |
* | |
* @param initialState | |
* @returns '{ formData, handleChange, handleSubmit }' | |
* @author 'Sebastian Morales' | |
* @description 'useForm es un hook para trabajar con formularios sin importar el numero de entradas, |