import React from 'react'; declare const withFeature: (feature: string) =>
>(Component: React.ComponentType
) => (props: P) => JSX.Element; export default withFeature;