UNPKG

@times-components/interactive-wrapper

Version:

Wrapper for legacy Interactive components

38 lines (24 loc) 1.02 kB
# Interactive Wrapper The editorial team's developers have created a number of Interactive widgets for the site. These slot in via HTML web components. This component wraps the Interactive allowing it to display as part of the React article. ## Contributing Please read [CONTRIBUTING.md](./CONTRIBUTING.md) before contributing to this package ## Running the code Please see our main [README.md](../README.md) to get the project running locally ## Development The code can be formatted and linted in accordance with the agreed standards. ``` yarn fmt yarn lint ``` ## Testing Testing can be done with: ``` yarn test:web ``` Visit the official [storybook](http://components.thetimes.co.uk/?knob-Size%20of%20ad%20placeholder%3A=default&knob-Interactive=chapterHeading&knob-Interactive%20Wrapper=chapterHeading&selectedKind=Primitives%2FInteractive%20Wrapper&selectedStory=Interactive%20Wrapper&full=0&addons=1&stories=1&panelRight=0&addonPanel=storybooks%2Fstorybook-addon-knobs) to see our available interactives.