TextContent
Text content: Text/Button labels never contain elements.
Verwendung
Cancel all app notifications.
Dieser Typ wird verwendet von Button
// 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
export type TextContent =
| string
| number
| boolean
| null
| undefined
| ReadonlySignal<TextContent>
| readonly TextContent[];Typ
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.