Interface: RnMediaCastButtonProps
Defined in: packages/cast/src/specs/cast-button.nitro.ts:11
Props of the native cast button view.
Deliberately tiny: the button's whole job is to be the platform's cast
affordance, and every extra prop is a way to diverge from it. Layout comes
from React Native's own style (a Nitro view's props class extends
react::ViewProps, so the standard view props are already there).
Extends
HybridViewProps
Properties
tintColor?
optional tintColor?: number;
Defined in: packages/cast/src/specs/cast-button.nitro.ts:21
Icon colour as a processColor-packed ARGB integer, or undefined for
the platform default.
The JS <CastButton tintColor="…" /> prop does the processColor call;
this is the wire form. undefined means "do not tint" on both platforms:
iOS keeps the inherited tintColor, Android keeps whatever the app
theme's mediaRouteButtonTint says.