@cebus/react-link
v0.0.2
Published
A customizable link that helps with site navigation.
Downloads
17
Readme
Link
The Link component allows you to create a standardized anchor elements
Use
- Install the @cebus/react-link component.
Using NPM
npm install @cebus/react-link
Using Yarn
yarn add @cebus/react-link
Install the @cebus/react-provider and our theme tokens from @cebus/react-theme
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>
)
}
- 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.