Anchor
Anchors allow you to quickly create anchor hyperlinks on a page.
Examples
Hello#
import React from 'react';
import ReactDOM from 'react-dom';
import { Title, Anchor } from 'furl-components';
ReactDOM.render(
<Title id="hello" level={3}>Hello<Anchor href='#hello'/></Title>,
document.getElementById('root')
);
API
Property | Description | Type | Default | ||
---|---|---|---|---|---|
href | anchor target | string |