updating UI documentation

Summary:
adding documentation for more of our UI components.

Deleted some unused components, which were not working anyways.

Reviewed By: jknoxville

Differential Revision: D12896109

fbshipit-source-id: 959c7864240883869ad67283f80a3c189b94bf00
This commit is contained in:
Daniel Büchele
2018-11-05 03:10:27 -08:00
committed by Facebook Github Bot
parent 640dee6645
commit 95a7298d21
27 changed files with 116 additions and 135 deletions

View File

@@ -95,9 +95,9 @@ function generateMarkdown(component) {
}
// escape pipes and new lines because they will break tables
type = type.replace(/\n/g, ' ').replace(/\|/g, '|');
type = type.replace(/\n/g, ' ').replace(/\|/g, '');
description = description
? description.replace(/\n/g, ' ').replace(/\|/g, '|')
? description.replace(/\n/g, ' ').replace(/\|/g, '')
: '';
props += `| \`${prop}\` | \`${type}\` | ${description} |\n`;