mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
Improve style prop display
Summary: - Display the description when it exists - Display the platform <img width="667" alt="screen shot 2016-01-24 at 1 37 45 pm" src="https://cloud.githubusercontent.com/assets/197597/12539106/fb226d08-c29f-11e5-83ad-f85bb42ed693.png"> Closes https://github.com/facebook/react-native/pull/5520 Reviewed By: svcscm Differential Revision: D2859743 Pulled By: vjeux fb-gh-sync-id: 0ccfeca7bbdfa837501378c0bf701d589fea48d8
This commit is contained in:
committed by
facebook-github-bot-5
parent
c49fc1ee6c
commit
193df8a4e0
@@ -267,7 +267,11 @@ var styleDocs = styles.slice(2).reduce(function(docs, filepath) {
|
||||
docgen.parse(
|
||||
fs.readFileSync(filepath),
|
||||
docgenHelpers.findExportedObject,
|
||||
[docgen.handlers.propTypeHandler, docgen.handlers.propTypeCompositionHandler]
|
||||
[
|
||||
docgen.handlers.propTypeHandler,
|
||||
docgen.handlers.propTypeCompositionHandler,
|
||||
docgen.handlers.propDocBlockHandler,
|
||||
]
|
||||
);
|
||||
|
||||
return docs;
|
||||
|
||||
Reference in New Issue
Block a user