@cebus/react-link
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

Link

The Link component allows you to create a standardized anchor elements

Use

  1. Install the @cebus/react-link component.

Using NPM

npm install @cebus/react-link

Using Yarn

yarn add @cebus/react-link
  1. Install the @cebus/react-provider and our theme tokens from @cebus/react-theme

  2. Set up the provider in your app:

import { Provider } from '@cebus/react-provider'
import { webLightTheme } from '@cebus/react-theme'

const MyApp = () => {
  return (
    <Provider theme={webLightTheme}>
    <Provider>
  )
}
  1. Integrate the Link component.
import { Provider } from '@cebus/react-provider'
import { webLightTheme } from '@cebus/react-theme'
import { Link } from '@cebus/react-link'

const MyApp = () => {
  return (
    <Provider theme={webLightTheme}>
      <Link>Hello World</Link>
    <Provider>
  )
}

API

The Link API extends off of the FluentUI Link.

Readme

Keywords

none

Package Sidebar

Install

npm i @cebus/react-link

Weekly Downloads

2

Version

0.0.2

License

MIT

Unpacked Size

53.1 kB

Total Files

89

Last publish

Collaborators

  • czearing
  • pongobuild