Skip to content

Commit

Permalink
refactor(module): code clean up and style
Browse files Browse the repository at this point in the history
  • Loading branch information
Exilz committed Sep 20, 2017
1 parent cb051b8 commit bc1e8df
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/HTMLElement.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export default class HTMLElement extends PureComponent {

return (
<RNElem {...passProps} style={style}>
{this.prefixNode()}
{ this.prefixNode() }
{this.props.children}
</RNElem>
);
Expand Down
2 changes: 1 addition & 1 deletion src/HTMLUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const RE = Object.freeze({
});

export const TEXT_TAG_NAMES = [
'p', 'span', 'li', 'a',
'p', 'span', 'a',
'em', 'i', 'u', 'b', 'strong', 'big', 'small',
'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'sub', 'sup'
].reduce((acc, n) => { acc.add(n); return acc; }, new Set());
Expand Down
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import HTML from './HTML'
import HTML from './HTML';

export default HTML
export default HTML;

0 comments on commit bc1e8df

Please sign in to comment.