PromptButton: {
    return: string | boolean | number;
    text: string;
    type: "blue" | "white" | "orange";
}

Type declaration

  • return: string | boolean | number

    The value to return when the button is clicked.

  • text: string

    The text to display on the button.

  • type: "blue" | "white" | "orange"

    The color of the button to display. It is recommended to use 'blue' for the default action, 'orange' for destructive actions, and 'white' for all other actions.