Skip to content

Commit

Permalink
feat(DocsSite): Allow HTML to be rendered
Browse files Browse the repository at this point in the history
Within the docs we would like to render links.
  • Loading branch information
thyhjwb6 committed Dec 17, 2020
1 parent 97b8e5e commit 76b5648
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import PropTypes from 'prop-types'
const TableCell = ({ column, content }) => {
return (
<td data-column={column} className="data-table__cell">
<span>{content || 'n/a'}</span>
<span dangerouslySetInnerHTML={{ __html: content || 'n/a' }} />
</td>
)
}
Expand Down

0 comments on commit 76b5648

Please sign in to comment.