MCPcopy Create free account
hub / github.com/eclipsesource/jsonforms / withContextToLabelProps

Function withContextToLabelProps

packages/react/src/JsonFormsContext.tsx:708–717  ·  view source on GitHub ↗
(
  Component: ComponentType<LabelProps>
)

Source from the content-addressed store, hash-verified

706 };
707
708const withContextToLabelProps = (
709 Component: ComponentType<LabelProps>
710): ComponentType<OwnPropsOfLabel> =>
711 function WithContextToLabelProps({
712 ctx,
713 props,
714 }: JsonFormsStateContext & LabelProps & OwnPropsOfLabel) {
715 const stateProps = ctxToLabelProps(ctx, props);
716 return <Component {...props} {...stateProps} />;
717 };
718
719// --
720

Callers 1

withJsonFormsLabelPropsFunction · 0.85

Calls 1

ctxToLabelPropsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…