Utilização

Cancel all app notifications.

Este tipo é usado por 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>;

Declaração do tipo

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

Tipo

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