TextContent
Text content: Text/Button labels never contain elements.
Usage
Cancel all app notifications.
This type is used by 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>;Type declaration
export type TextContent =
| string
| number
| boolean
| null
| undefined
| ReadonlySignal<TextContent>
| readonly TextContent[];Type
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.