-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathargonIconWrapper.Rd
51 lines (43 loc) · 1.1 KB
/
argonIconWrapper.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/argonIcon.R
\name{argonIconWrapper}
\alias{argonIconWrapper}
\title{Create a Nucleo icon wrapper}
\usage{
argonIconWrapper(
iconTag,
circle = TRUE,
size = NULL,
status = "default",
gradient_color = NULL,
shadow = TRUE,
hover_shadow = FALSE
)
}
\arguments{
\item{iconTag}{Slot for \link{argonIcon}}
\item{circle}{Wrapper's shape. TRUE by default.}
\item{size}{Wrapper size. "sm", "md" or "lg".}
\item{status}{Wrapper color. See \url{https://demos.creative-tim.com/argon-design-system/docs/foundation/colors.html}.}
\item{gradient_color}{icon gradient background color.}
\item{shadow}{Whether to apply a shadow effet. TRUE by default.}
\item{hover_shadow}{Only if shadow is TRUE. Whether to enlarge the shadow on hover. FALSE by default.}
}
\description{
Build an argon Nucleo icon wrapper
}
\examples{
if (interactive()) {
library(argonR)
argonIconWrapper(
iconTag = argonIcon("atom"),
size = "lg",
status = "danger",
shadow = TRUE,
hover_shadow = TRUE
)
}
}
\author{
David Granjon, \email{[email protected]}
}