@times-components/article

7.16.265 • Public • Published

Article

Chooses which template to use based on template names from Times Public API.

Contributing

Please read CONTRIBUTING.md before contributing to this package

Running the code

Please see our main 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 on each platform individually

yarn test:web

Visit the official

https://components.thetimes.co.uk/?knob-Lead%20Asset=true&knob-Size%20of%20ad%20placeholder%3A=default&knob-Video=true&knob-Headline=true&knob-Section=%23333333&knob-Flags=true&knob-Standfirst=true&knob-Template=mainstandard&knob-Scale=medium&knob-Linked%20Byline=true&knob-Label=true&selectedKind=Pages%2FArticle&selectedStory=Article%20with%20template%20choice&full=0&addons=1&stories=1&panelRight=0&addonPanel=storybooks%2Fstorybook-addon-knobs

Readme

Keywords

Package Sidebar

Install

npm i @times-components/article

Weekly Downloads

6,337

Version

7.16.265

License

BSD-3-Clause

Unpacked Size

493 kB

Total Files

11

Last publish

Collaborators

  • marcincuber
  • newsuk
  • news-tools