Skip to content

Commit

Permalink
fix: added eslint pragma for ignoring dangerouslySetInnerHTML
Browse files Browse the repository at this point in the history
  • Loading branch information
mxschmitt committed Oct 14, 2019
1 parent b30a10a commit ce7a4bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions www/src/components/ComponentApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ function ComponentApi({ heading, metadata, exportedBy }) {

<ImportApi name={importName} />
{/* use composes here */}
{/* eslint-disable-next-line react/no-danger */}
{descHtml && <div dangerouslySetInnerHTML={{ __html: descHtml }} />}
<PropTable metadata={metadata} />
</>
Expand Down

0 comments on commit ce7a4bd

Please sign in to comment.