Utilisation

Add a light impact to an interaction.

Ce type est utilisé par haptics.impact

tsx
// Add a light impact to an interaction.
import { haptics } from 'kuito';

await haptics.impact('medium');

Déclaration du type

ts
export type ImpactStyle = 'light' | 'medium' | 'heavy';

Type

ts
"light" | "medium" | "heavy"
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.