Skip to main content

Type Alias: EntryRule<TProps>

EntryRule<TProps> = FieldMatch<TProps> | EntryPredicate<TProps>

Defined in: layout/entry-rule.ts:35

What a variant's when and a row source's childrenAsSegments both take: the field-match shorthand, or a predicate. The shorthand is what core can index — it names its keys — and the predicate answers everything the shorthand cannot.

Type Parameters​

TProps​

TProps = Record<string, unknown>