Verwendung

Cancel all app notifications.

Dieser Typ wird verwendet von 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>;

Typdeklaration

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

Typ

ts
string | number | boolean | ReadonlySignal<TextContent> | readonly TextContent[]
Generiert aus den öffentlichen TypeScript-Deklarationen: Signaturen, Props und Standardwerte stammen aus der geprüften Quelle, Beschreibungen aus deren JSDoc. Kein Standardwert ist erfunden.