Usage

Build a support summary

This type is used by device.type

tsx
import { device } from 'kuito';

device.model; // 'iPhone 16 Pro', 'Pixel 8'
device.type === 'tablet';
if (!device.physical) console.log('on a simulator');

Type declaration

ts
export type DeviceType = 'unknown' | 'phone' | 'tablet' | 'desktop' | 'tv';

Type

ts
"unknown" | "phone" | "tablet" | "desktop" | "tv"
Generated from the public TypeScript declarations: signatures, props and defaults come from the checked source, descriptions from its JSDoc. No defaults are invented.