Verwendung

Create routes and tabs

Dieser Typ wird verwendet von Link

tsx
// app/(shows)/index.tsx
import { Link, Text, VStack, routes, type RouteOptions } from 'kuito';

export const options: RouteOptions = { title: 'Shows' };

export default function Shows() {
  return (
    <VStack gap={12} padding={20}>
      <Link to={routes.show({ id: 42 })}>
        <Text>Show 42</Text>
      </Link>
    </VStack>
  );
}

Typdeklaration

ts
export interface PressPhaseEvent
  extends KuitoEvent<'pressin' | 'pressout' | 'longpress'>, TouchLocation {}

Mitglieder 7

NameTypErforderlichBeschreibung
type"pressin" | "pressout" | "longpress"Ja—
targetunknownJa—
isTrustedbooleanJa—
locationXnumberJa—
locationYnumberJa—
pageXnumberJa—
pageYnumberJa—
Generiert aus den öffentlichen TypeScript-Deklarationen: Signaturen, Props und Standardwerte stammen aus der geprüften Quelle, Beschreibungen aus deren JSDoc. Kein Standardwert ist erfunden.