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:
committed by
Facebook Github Bot
parent
640dee6645
commit
95a7298d21
@@ -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`;
|
||||
|
||||
Reference in New Issue
Block a user