PrimitivesTextBoxButtonFlexLinkModalData inputInputData vizList
Link Interlock link component
🔗 to ▪️ children Prop Definition
interface LinkProps {
  /**
   * @param to the href for a the underlying
   * anchor tage
   */
  to: string;
  /**
   * The content you want to render as the children
   * of the link
   */
  children: string | React.ReactNode | React.ReactNode[];
}

to

<>
  <Link to="#">Visiting nothing</Link>
</>
Rendered output

children

<>
  <Link to="#">Visiting nothing</Link>
  <Link to="#"><span>Passing react children</span></Link>
</>
Rendered output