Utilisation

Fail builds on a fallback

Ce type est utilisé par config.KuitoConfig

tsx
import type { KuitoConfig } from 'kuito/config';

export default {
  name: 'MyApp',
  ios: { bundleIdentifier: 'com.example.myapp' },
  android: { applicationId: 'com.example.myapp' },
  strict: true,
} satisfies KuitoConfig;

Déclaration du type

ts
export interface KuitoSplash extends SplashLookConfig {
  /** Looks the app can pick for its next launch, where the platform allows it. */
  variants?: Record<string, SplashLookConfig>;
}

Membres 6

NomTypeRequisDescription
variantsRecord<string, SplashLookConfig>NonLooks the app can pick for its next launch, where the platform allows it.
logoWidthnumberNonIn points (iOS) and dp (Android); 100 by default, at most 288.
backgroundstringNonA color like #1E88E5; white by default.
brandstringNonA PNG fitted into a 200×80 box, 60 from the bottom.
dark{ logo?: string; background?: string; brand?: string;}NonReplacements in dark mode.
dark — champs imbriqués

dark champs

NomTypeRequisDescription
logostringNon—
backgroundstringNon—
brandstringNon—
Généré depuis les déclarations TypeScript publiques : signatures, props et valeurs par défaut viennent de la source vérifiée, les descriptions de sa JSDoc. Aucune valeur par défaut n'est inventée.