ComponentEnhancer<InnerP, OutterP> typedef

ComponentEnhancer<InnerP, OutterP> = FunctionalComponent<InnerP> Function(FunctionalComponent<OutterP> baseComponent)

ComponentEnhancer is function that given a FunctionalComponent that accepts OutterP props and returns a FunctionalComponent that accepts InnerP props

Implementation

typedef FunctionalComponent<InnerP> ComponentEnhancer<InnerP, OutterP>(
    FunctionalComponent<OutterP> baseComponent);