Skip to main content

Link

img

Usage

This props inherits all the a tag properties from HTML

import React from 'react'
import { Link } from 'qdm-component-library'

function App() {
return <Link underline="always" color="primary" children="primary" />
}
export default App

Reference

Props

className

props for providing classname to Link component string

id

props for providing id to Link component string

name

props for providing name to Link component string

children

props for providing children for Link Component React Node

inLineStyles

props give addition props to the Link Component type Object

underline

props for providing underline to the Link Component "none" | "hover" | "always"

color

props for providing color to the Link Component text "inherit" | "primary" | "secondary" | "textPrimary" | "textSecondary" | "error"