Options
All
  • Public
  • Public/Protected
  • All
Menu

This is an class that holds the information about decoration registered for each SchemaNode

Hierarchy

  • Decorator

Index

Constructors

  • new Decorator(match: DecoratorMatcher): Decorator

Methods

  • Used internaly, this is being called by all SchemaNode in order to know if they are concerned with that decorator

    Parameters

    Returns void

  • similar to wrapWith but the passed custom component will wrap around the node's components including other attached decorators such as the ones added from prependWith, appendWith and wrapWith decoration verbs

    Type parameters

    • T: Noop

    Parameters

    Returns Omit<Decorator, "apply">

  • the passed custom component will wrap arround the node's current component the props children will represents the node's current rendered component inside the custom component

    Type parameters

    • T: Noop

    Parameters

    Returns Omit<Decorator, "apply">

Generated using TypeDoc