react-native/website/layout
Spencer Ahrens 7eded2d8ed preserve inline components in prop type doc gen
Summary:
Some of the operations, like `oneOf` and `arrayOf`, were doing joins on arrays of potential
tags, like `<span>` or `<a>`, which would stringify them to `[object Object]`.

This introduces a new `spanJoinMapper` which suppresses the trailing separator like `join` but wraps
elements in `<span>` rather than `concat`ing into a string.

Latest master is pretty broken:
{F66059444}

Nested `color` and some other props were broken even before https://github.com/facebook/react-native/commit/a7a3922b89d821b9a34d26bdcc7676e747a2716
{F66059446}

All fixed in this diff:
{F66059445}

Reviewed By: mkonicek

Differential Revision: D4670441

fbshipit-source-id: ddc10f13b3bdc6a1e799fa06a4e206f8dbd08769
2017-03-07 18:04:05 -08:00
..
AutodocsLayout.js preserve inline components in prop type doc gen 2017-03-07 18:04:05 -08:00
BlogPageLayout.js Swap locations for Prev/Next links. 2016-11-04 23:43:33 -07:00
BlogPostLayout.js Re-style Blog, Add Newsletter Signup Form 2016-11-02 05:43:43 -07:00
DocsLayout.js RN: Cleanup OSS JS & Flow Declarations 2016-11-20 17:58:29 -08:00
PageLayout.js RN: Cleanup OSS JS & Flow Declarations 2016-11-20 17:58:29 -08:00
RedirectLayout.js RN: Cleanup OSS JS & Flow Declarations 2016-11-20 17:58:29 -08:00