Build an argon button
argonButton(
src = NULL,
name = NULL,
status = "default",
icon = NULL,
size = NULL,
block = FALSE,
disabled = FALSE,
outline = FALSE,
toggle_modal = FALSE,
modal_id = NULL
)
Button external link.
Button label.
Button color. See https://demos.creative-tim.com/argon-design-system/docs/components/buttons.html.
Button size: NULL, "sm" or "lg".
Whether the button fill its parent. FALSE by default.
Whether to disable the button. FALSE by default.
Whether to outline the button. FALSE by default.
Whether to use th button for a modal. FALSE by default.
If toggle_modal is TRUE, nedd to provide the modal targeted.
if(interactive()){
library(argonR)
argonButton(
name = "Click me!",
status = "danger",
icon = argonIcon("atom"),
size = "lg",
toggle_modal = TRUE,
modal_id = "modal1"
)
}