Verwendung

Read the native splash layout.

tsx
// Read the native splash layout.
import { splash } from 'kuito';

const layout = splash.layout(); // null without a splash

if (layout) console.log(layout.logo.y + layout.logo.height, layout.brand?.width);

Signaturen

ts
(): SplashLayout | null

Parameter

Keine Parameter.

Rückgabe

Layout

Generiert aus den öffentlichen TypeScript-Deklarationen: Signaturen, Props und Standardwerte stammen aus der geprüften Quelle, Beschreibungen aus deren JSDoc. Kein Standardwert ist erfunden.