Info Alert
This component shows an info alert to the user.
Property | Value |
---|---|
Interactivity | Non-required |
Screenshot
API
Example
swift
Noora().info("Your project is using the latest version")
// With takeaways
Noora().info(
.alert("Your project is using the latest version", takeaways: ["Consider enabling automatic updates with \(.command("tuist config enable-auto-updates"))"])
)
Options
Attribute | Description | Required | Default value |
---|---|---|---|
message | The info message to display to the user. | Yes | |
takeaways | A list of takeaways that provide additional information or next steps. | No | [] |