MCPcopy Create free account
hub / github.com/Lobos/react-ui / getValueType

Function getValueType

src/higherOrders/FormItem.js:230–236  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

228}
229
230export const getValueType = (type) => {
231 let valueType = 'string';
232 if (COMPONENTS[type]) {
233 valueType = COMPONENTS[type].valueType;
234 }
235 return valueType;
236}
237
238function getValue(props) {
239 let { value, name, formData } = props;

Callers 3

getHintMethod · 0.90
constructorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…