Utilização

Report an outcome through haptics.

Este tipo é usado por haptics.notification

tsx
// Report an outcome through haptics.
import { haptics } from 'kuito';

await haptics.notification('success');

Declaração do tipo

ts
export type NotificationType = 'success' | 'warning' | 'error';

Tipo

ts
"error" | "success" | "warning"
Gerado a partir das declarações TypeScript públicas: assinaturas, props e predefinições vêm da fonte verificada, as descrições da sua JSDoc. Nenhuma predefinição é inventada.