MCPcopy Create free account
hub / github.com/formkit/formkit / nodeProps

Function nodeProps

packages/utils/src/index.ts:478–485  ·  view source on GitHub ↗
(
  ...sets: Array<Record<string, any>>
)

Source from the content-addressed store, hash-verified

476 * @public
477 */
478export function nodeProps(
479 ...sets: Array<Record<string, any>>
480): Record<string, any> {
481 return sets.reduce((valid, props) => {
482 const { value, name, modelValue, config, plugins, ...validProps } = props // eslint-disable-line
483 return Object.assign(valid, validProps)
484 }, {})
485}
486
487/**
488 * Parse a string for comma-separated arguments.

Callers 3

useInputFunction · 0.90
createInitialPropsFunction · 0.90
useInputFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected