@nish1896/rhf-mui-components
Version:
A suite of 20+ production-ready react-hook-form components built with material-ui. Fully typed, tree-shakable, and optimized for enterprise-grade forms.
14 lines • 411 B
TypeScript
//#region src/utils/text-transform.d.ts
/**
* Function to generate easy-to-read form labels from a given string.
*
* Examples -
* "fullName" to "Full Name"
* "last_name" to "Last Name"
* "parseJSONData" to "Parse JSON Data"
* "enable_HTTP_Config" to "Enable HTTP Config"
* users.0.email -> Users Email
*/
declare function fieldNameToLabel(str: string): string;
//#endregion
export { fieldNameToLabel };