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

Function withJsonFormsLayoutProps

packages/react/src/JsonFormsContext.tsx:741–747  ·  view source on GitHub ↗
(
  Component: ComponentType<T>,
  memoize = true
)

Source from the content-addressed store, hash-verified

739 );
740
741export const withJsonFormsLayoutProps = <T extends LayoutProps>(
742 Component: ComponentType<T>,
743 memoize = true
744): ComponentType<T & OwnPropsOfLayout> =>
745 withJsonFormsContext(
746 withContextToLayoutProps(memoize ? React.memo(Component) : Component)
747 );
748
749export const withJsonFormsOneOfProps = (
750 Component: ComponentType<CombinatorRendererProps>,

Calls 2

withJsonFormsContextFunction · 0.85
withContextToLayoutPropsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…