Type-safe input for ApplyElementFn/ApplyElementToModalLayerFn.
Mirrors how skip() accepts params: ComponentProps<C> — the props type is inferred from the element component, so passing a prop the component does not declare is a compile error.
skip()
params: ComponentProps<C>
Type-safe input for ApplyElementFn/ApplyElementToModalLayerFn.
Mirrors how
skip()acceptsparams: ComponentProps<C>— the props type is inferred from the element component, so passing a prop the component does not declare is a compile error.