platform
'ios' or 'android', fixed when the app is compiled: each platform gets
its own bundle, and a branch on platform for the other one is dropped
from it (docs/styles.md#platforms).
Verwendung
Choose a platform-specific value.
// Choose a platform-specific value.
import { platform } from 'kuito';
const back = platform === 'ios' ? 'chevron.left' : 'arrow_back';Typ
PlatformGeneriert aus den öffentlichen TypeScript-Deklarationen: Signaturen, Props und Standardwerte stammen aus der geprüften Quelle, Beschreibungen aus deren JSDoc. Kein Standardwert ist erfunden.