mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-08 22:42:40 +08:00
Merge pull request #1225 from umhan35/patch-1
[Docs] Link to #props anchor instead of non-existent #proptypes
This commit is contained in:
@@ -88,7 +88,7 @@ var ComponentDoc = React.createClass({
|
||||
return (
|
||||
<div className="prop" key={name}>
|
||||
<Header level={4} className="propTitle" toSlug={name}>
|
||||
<a href={slugify(name) + '.html#proptypes'}>{name} props...</a>
|
||||
<a href={slugify(name) + '.html#props'}>{name} props...</a>
|
||||
</Header>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user