import * as React from "react"; import Take from "./../util/Take"; export default (takeKeys: string | string[]) => (Component: any) => ( props: any ) => { const { store, ...restProps } = props; const takeProps = Take(store, takeKeys); return ; };