0.1.5 • Published 5 years ago

@redoute/link v0.1.5

Weekly downloads
21
License
ISC
Repository
github
Last release
5 years ago

name: Link menu: UI

route: /Link

import { Playground, Props } from 'docz' import { MemoryRouter as Router } from 'react-router-dom' import Link from '@redoute/link' import { Title1 } from '@redoute/titles'

Link

A Link is a styled component that can handle a internal or external redirect. If no destination we can use the component to handle a onClick action such as a button.
Style is coming from the theme and is applied the same on any of these cases. To custom a Link, you must wrap it with a parent.

The Redoute Link component returns either :

  • a component Link from react-router-dom if used with prop to,
  • a <a href=""> if used with prop href
  • a <span> with same style if no props

Props

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.0.14

6 years ago

0.0.13

6 years ago

0.0.12

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago