0.1.5 • Published 4 years ago

@redoute/link v0.1.5

Weekly downloads
21
License
ISC
Repository
github
Last release
4 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

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.0.14

4 years ago

0.0.13

4 years ago

0.0.12

4 years ago

0.0.11

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago