ant-design/components/anchor/index.en-US.md
2016-11-29 17:13:24 +08:00

879 B

category type cols title
Components Other 2 Anchor

Hyperlinks to scroll on one page.

When To Use

For displaying anchor hyperlinks on page and jumping between them.

API

Anchor Props

Property Description Type Default
offsetTop Pixels to offset from top when calculating position of scroll Number 0
offsetBottom Pixels to offset from bottom when calculating position of scroll Number -
bounds Bounding distance of anchor area Number 5(px)
Property Description Type Default
href target of hyperlink String
title content of hyperlink React.Node