@hailer-oy/birds-eye
Version:
This component library directory contains all the react components for Hailer Bird's Eye! Developing these componets happens [here](https://github.com/KvanttoriOy/birds-eye/tree/master/birds-eye-components), only copy your changes in lib from there to src
6 lines (5 loc) • 449 B
TypeScript
import { Type } from "../types";
/**
* Returns a more human readable field type.
*/
export default function fieldTypeAsString(type: Type): "Text" | "Numeric" | "Text Area" | "Predefined Options" | "Text with Unit" | "Numeric with Unit" | "Date" | "Date Range" | "Date & Time Range" | "Date & Time" | "Time" | "Time Range" | "Country" | "Contact" | "User" | "Team" | "Activity Link" | "Linked Activities" | "Subheader" | "Unknown Field Type";