import React, { ComponentType } from 'react'; declare type WithUpDownProps = { direction?: 'up' | 'down'; }; declare const withUpDown:
>(WrappedComponent: React.ComponentType
, { icon }: { icon?: boolean | undefined; }) => ({ direction, ...props }: P & WithUpDownProps) => JSX.Element; export default withUpDown;