Utilisation

Cancel all app notifications.

Ce type est utilisé par Button

tsx
// Cancel all app notifications.
import { Button, notifications, storage } from 'kuito';

async function signOut() {
  await notifications.cancelAll(); // no reminders for the account that left
  await storage.clear();
}

<Button onPress={signOut}>Sign out</Button>;

Déclaration du type

ts
export type TextContent =
  | string
  | number
  | boolean
  | null
  | undefined
  | ReadonlySignal<TextContent>
  | readonly TextContent[];

Type

ts
string | number | boolean | ReadonlySignal<TextContent> | readonly TextContent[]
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.