PortableComponent type
Home > @rimitive/view > PortableComponent
PortableComponent type
Section titled “PortableComponent type”A portable component - a function that receives a service and returns a factory that produces a RefSpec when called.
Signature:
type PortableComponent<TSvc, TElement> = (svc: TSvc) => () => RefSpec<TElement>;References: RefSpec