ant-design/components/anchor/index.en-US.md
Wei Zhu 77b78a9389 docs: Unify type naming (#4636)
* Unify name of ReactNode type in document

* Lowser all string type name

* Lowercase all number type name

* Lowercase all boolean type name

* Unify array type

* Lowercase all object type name

* Unify mutilple types
2017-01-20 20:10:50 +08:00

886 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 string|ReactNode