Usage

Cancel all app notifications.

This type is used by 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>;

Type declaration

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

Type

ts
string | number | boolean | ReadonlySignal<TextContent> | readonly TextContent[]
Generated from the public TypeScript declarations: signatures, props and defaults come from the checked source, descriptions from its JSDoc. No defaults are invented.