Just like mapProps but for a single prop. The component will be given its
props unmodified, except for a single prop where the value will be the result
of the given function. The given function is given the original prop value.
Type Parameters
Propextendsstring
Type of prop name.
B
Type of given prop value.
A
Type of prop value as expected by the base component.
Just like
mapProps
but for a single prop. The component will be given its props unmodified, except for a single prop where the value will be the result of the given function. The given function is given the original prop value.