mui-forms
Version:
Material UI forms with json based schema
13 lines (12 loc) • 476 B
TypeScript
import { IFormField } from "@manojadams/metaforms-core";
import { TValue } from "@manojadams/metaforms-core/dist/constants/types";
declare class MuiFormUtil {
static getDisplayLabel(form: IFormField): string | undefined;
/**
* Get checkbox value - checkbox should contain only string values
* @param value
* @returns
*/
static getCheckboxValue(value: Exclude<TValue, Date>): string | null | undefined;
}
export default MuiFormUtil;