Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@times-components/article-paragraph

Package Overview
Dependencies
Maintainers
3
Versions
1644
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@times-components/article-paragraph

Article Paragraph

  • 1.9.356
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
597
decreased by-71.76%
Maintainers
3
Weekly downloads
 
Created
Source

Article Paragraph

This packages provides a component for displaying an article paragraph, including support for displaying a "drop cap" at the beginning of a paragraph.

The drop cap is implemented using CSS floats, and should work with any styling or markup used.

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-Size%20of%20ad%20placeholder%3A=default&knob-Scale=medium&knob-Section=%23333333&selectedKind=Primitives%2FArticle%20Paragraph&selectedStory=Paragraph&full=0&addons=1&stories=1&panelRight=0&addonPanel=storybooks%2Fstorybook-addon-knobs

Future

The API for this package is likely to change radically in the foreseeable future. It was written with the intention of supporting arbitrary numbers of characters being displayed as a drop cap. However, the acceptance criteria for the feature we use this package for has since changed, and this presents the opportunity for simplifying the API. In the future, this package will simply have a toggle for displaying a drop cap, and will display the first character as a drop cap when it is enabled.

Keywords

FAQs

Package last updated on 11 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc