title: Component with same UI but different data coming from redux
body: <p>Got a component but with different data coming from redux store, the UI is the same just change where data come from I use useSelector, so I'm passing selector through props.</p>
  <ul>
  <li>My first question is pass selector through props is fine or it's a bad practice?</li>
  <li>Second question is I got a type error and I don't know how I should type this correctly</li>
  </ul>
  <pre><code>Argument of type 'OutputSelector&lt;MergeStateI, GrocerieResponse[], (res: GroceriesInitStateI) =&gt; GrocerieResponse[]&gt; | OutputSelector&lt;...&gt;' is not assignable to parameter of type '(state: MergeStateI) =&gt; GrocerieResponse[]'.
    Type 'OutputSelector&lt;MergeStateI, AgencyResponse[], (res: AgenciesInitStateI) =&gt; AgencyResponse[]&gt;' is not assignable to type '(state: MergeStateI) =&gt; GrocerieResponse[]'.
      Type 'AgencyResponse[]' is not assignable to type 'GrocerieResponse[]'.
        Property 'grocerieImages' is missing in type 'AgencyResponse' but required in type 'GrocerieResponse'.
  </code></pre>
  <p>Selectors</p>
  <pre><code>export const selectFavoriteGroceries = createSelector(
      [selectGroceries],
      (groceries: GroceriesInitStateI) =&gt; groceries.favoriteGroceries
  );
  
  export const selectFavoriteAgencies = createSelector(
      [selectAgencies],
      (agencies: AgenciesInitStateI) =&gt; agencies.favoriteAgencies
  );
  
  </code></pre>
  <p>Component</p>
  <pre><code>interface ComponentProps {
      selector:
          | OutputSelector&lt;
                MergeStateI,
                GrocerieResponse[],
                (res: GroceriesInitStateI) =&gt; GrocerieResponse[]
            &gt;
          | OutputSelector&lt;
                MergeStateI,
                AgencyResponse[],
                (res: AgenciesInitStateI) =&gt; AgencyResponse[]
            &gt;;
  }
  
  export const Restaurant: React.FC&lt;RestaurantProps&gt; = (
      props: RestaurantProps
  ) =&gt; {
      const data = useSelector(props.selector);
  }
  </code></pre>