Type Alias: ToastAction
Makaio Framework / contracts/toast / ToastAction
Type Alias: ToastAction
Section titled “Type Alias: ToastAction”ToastAction =
z.infer<typeofToastActionSchema>
Defined in: ../../../packages/contracts/src/toast/schemas.ts:66
Inferred TypeScript type for toast action
Type Composition
Section titled “Type Composition”ToastActionz.infer<typeof ToastActionSchema>typeof ToastActionSchema
Resolved Shape
Section titled “Resolved Shape”type ToastAction = { id: string; label: string; variant?: 'default' | 'destructive' | 'outline' | undefined;};