Skip to content

Commit

Permalink
format sync-api code, remove unused file (facebook#2336)
Browse files Browse the repository at this point in the history
  • Loading branch information
Simek authored Nov 17, 2020
1 parent 0a23592 commit b8ec5a0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 14 deletions.
6 changes: 4 additions & 2 deletions sync-api-docs/propFormatter.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,10 @@ function formatDefaultColumn(prop) {
let colorBlock = '';
prop?.flowType?.elements.some(elem => {
if (elem.name === 'NativeColorValue' && !tag.includes('null')) {
colorBlock =
`<ins style={{background: '${tag.replace(/'/g, '')}'}} className="color-box" />`;
colorBlock = `<ins style={{background: '${tag.replace(
/'/g,
''
)}'}} className="color-box" />`;
return true;
}
});
Expand Down
12 changes: 0 additions & 12 deletions sync-api-docs/titleToId.js

This file was deleted.

0 comments on commit b8ec5a0

Please sign in to comment.