# AUTO GENERATED FILE - DO NOT EDIT

#' @export
switch <- function(id=NULL, className=NULL, falsyLabel=NULL, hasLabel=NULL, truthyLabel=NULL, value=NULL) {
    
    props <- list(id=id, className=className, falsyLabel=falsyLabel, hasLabel=hasLabel, truthyLabel=truthyLabel, value=value)
    if (length(props) > 0) {
        props <- props[!vapply(props, is.null, logical(1))]
    }
    component <- list(
        props = props,
        type = 'Switch',
        namespace = 'dash_mp_components',
        propNames = c('id', 'className', 'falsyLabel', 'hasLabel', 'truthyLabel', 'value'),
        package = 'dashMpComponents'
        )

    structure(component, class = c('dash_component', 'list'))
}
