Conditionally renders content based on whether the current device is mobile.
Parameters
__namedParameters: IsMobileProps
Returns ReactNode
The appropriate content for the current device
Description
Renders renderIf when the device is detected as mobile, and renderElse otherwise. Device detection uses both user agent and viewport width (< 768px). Useful for rendering alternative layouts or components per form factor.
Conditionally renders content based on whether the current device is mobile.