Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@economist/component-articletemplate
Advanced tools
A template with which to render articles
An ArticleTemplate
is a description of how an ArticleHeader
,
ArticleSubheader
, ArticleBody
and ArticleFooter
should render a page.
By default it will render a very basic article template, however the use of the higher-order components within component-variantify
allow the developer to declaratively specify the different article variants. Both ArticleTemplate
and ArticleBodyTemplate
can be wrapped to this effect.
All inner components receive a generateClassNameList
which can have a class name passed into it so they generate additional variant classes. This function is created from the usage of the higher-order component withVariantClassNameList
.
Variant-specific ArticleHeader
, ArticleSubheader
, ArticleBody
and ArticleFooter
components can be made with help from some basic components exposed where the default components are defined.
See example.es6
for usage instructions.
npm install --save @economist/component-articletemplate;
npm test;
FAQs
A template with which to render articles
The npm package @economist/component-articletemplate receives a total of 141 weekly downloads. As such, @economist/component-articletemplate popularity was classified as not popular.
We found that @economist/component-articletemplate demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.