navLinkRef

@Composable
fun IComponent.navLinkRef(href: String? = null, label: String? = null, icon: String? = null, target: String? = null, hide: Boolean = false, replace: Boolean = false, className: String? = null, id: String? = null, content: @Composable ILink.() -> Unit = {}): Link

Creates a Link component with router support, returning a reference.

Return

the Link component

Parameters

href

the link URL

label

the link label

icon

the link icon

target

the link target

hide

hides the route from the browser history

replace

replaces the current entry in the browser history

className

the CSS class name

id

the ID attribute of the component

content

the content of the component