% Auto-generated: do not edit by hand
\name{link}

\alias{link}

\title{Link component}

\description{
Custom Link component that can handle both internal and external URLs. You can also use this component if you need to preserve the url query parameters when following a link.
}

\usage{
link(children=NULL, id=NULL, className=NULL, href=NULL,
loading_state=NULL, preserveQuery=NULL, refresh=NULL,
style=NULL, target=NULL, title=NULL)
}

\arguments{
\item{children}{A list of or a singular dash component, string or number. The children of this component}

\item{id}{Character. The ID of this component, used to identify dash components
in callbacks. The ID needs to be unique across all of the
components in an app.}

\item{className}{Character. Often used with CSS to style elements with common properties.}

\item{href}{Character. The URL of a linked resource.}

\item{loading_state}{Lists containing elements 'is_loading', 'prop_name', 'component_name'.
those elements have the following types:
  - is_loading (logical; optional): determines if the component is loading or not
  - prop_name (character; optional): holds which property is loading
  - component_name (character; optional): holds the name of the component that is loading. Object that holds the loading state object coming from dash-renderer}

\item{preserveQuery}{Logical. If true, the current query parameters will not be removed from the url
when following the link.}

\item{refresh}{Logical. Controls whether or not the page will refresh when the link is clicked}

\item{style}{Named list. Defines CSS styles which will override styles previously set.}

\item{target}{Character. Specifies where to open the link reference.}

\item{title}{Character. Adds the title attribute to your link, which can contain supplementary
information.}
}

\value{named list of JSON elements corresponding to React.js properties and their values}

