Skip to content

Code-Only Props Pattern

Naming pattern used to detect the code-only props container layer. When absent, no code-only prop extraction is performed.

Options

  • Type: string
  • Default: absent (disabled)
  • Effect: When set, layers whose names match the pattern are treated as code-only prop containers and their children are extracted as props. The matched layer and its children are excluded from layout and element styling evaluation. When absent, code-only prop extraction is skipped entirely.

Path

config.processing.codeOnlyPropsPattern

Example

config:
processing:
codeOnlyPropsPattern: 'Code only props'