React component for displaying HTML content from an outside link
npm install @cdc/markup-include
is a React component produced by the CDC for importing HTML markup data from a separate source link.
This package is part of the larger CDC Open Visualization project.
1. Install the package in your React project npm install @cdc/markup-include
2. Import the component and begin using in your code.
``JSX
import CdcMarkupInclude from '@cdc/markup-include'
function App() {
return (
export default App;
``
Note, you must pass in a configuration object. Configuration objects can be created with the Editor package.