Open wishma2013 opened 4 years ago
Although the onIncrement={onIncrement} is defined in it's props return ( <BaseComponent count={overrideCount || count} // injected onIncrement={onIncrement} // injected {...(restProps as BaseProps)} /> );
onIncrement={onIncrement}
return ( <BaseComponent count={overrideCount || count} // injected onIncrement={onIncrement} // injected {...(restProps as BaseProps)} /> );
Although the
onIncrement={onIncrement}
is defined in it's propsreturn ( <BaseComponent count={overrideCount || count} // injected onIncrement={onIncrement} // injected {...(restProps as BaseProps)} /> );