Skip to content

Type Alias: ToastAction

Makaio Framework


Makaio Framework / contracts/toast / ToastAction

ToastAction = z.infer<typeof ToastActionSchema>

Defined in: ../../../packages/contracts/src/toast/schemas.ts:66

Inferred TypeScript type for toast action

  • ToastAction
    • z.infer<typeof ToastActionSchema>
      • typeof ToastActionSchema
type ToastAction = {
id: string;
label: string;
variant?: 'default' | 'destructive' | 'outline' | undefined;
};