mirror of
https://github.com/status-im/react-native.git
synced 2025-01-28 02:04:55 +00:00
Fix links to Flexbox / ShadowPropTypesIOS / Transforms in styles
Reviewed By: svcscm Differential Revision: D2938201 fb-gh-sync-id: c20790fa69984f0b592c48fbfdca74f3dfc9d14d shipit-source-id: c20790fa69984f0b592c48fbfdca74f3dfc9d14d
This commit is contained in:
parent
4237a27ec9
commit
c6a8fb977d
@ -175,15 +175,15 @@ var ComponentDoc = React.createClass({
|
|||||||
if (name === 'LayoutPropTypes') {
|
if (name === 'LayoutPropTypes') {
|
||||||
name = 'Flexbox';
|
name = 'Flexbox';
|
||||||
link =
|
link =
|
||||||
<a href={slugify(name) + '.html#proptypes'}>{name}...</a>;
|
<a href={'docs/' + slugify(name) + '.html#proptypes'}>{name}...</a>;
|
||||||
} else if (name === 'TransformPropTypes') {
|
} else if (name === 'TransformPropTypes') {
|
||||||
name = 'Transforms';
|
name = 'Transforms';
|
||||||
link =
|
link =
|
||||||
<a href={slugify(name) + '.html#proptypes'}>{name}...</a>;
|
<a href={'docs/' + slugify(name) + '.html#proptypes'}>{name}...</a>;
|
||||||
} else {
|
} else {
|
||||||
name = name.replace('StylePropTypes', '');
|
name = name.replace('StylePropTypes', '');
|
||||||
link =
|
link =
|
||||||
<a href={slugify(name) + '.html#style'}>{name}#style...</a>;
|
<a href={'docs/' + slugify(name) + '.html#style'}>{name}#style...</a>;
|
||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
<div className="prop" key={name}>
|
<div className="prop" key={name}>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user