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

@arc-core-components/element_headline

Package Overview
Dependencies
Maintainers
12
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arc-core-components/element_headline

Arc Core Component that represents a headline element.

  • 0.0.5-beta.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
12
Created
Source

Element Headline: An Arc Core Component

What does this do?

When used in a Fusion Project, this Core Component can be used to render the Headline and optional Subheadline of an ANS Story, with an optional URL for both.

How do I use it?

import Headline from "@arc-core-components/element_headline";

<Headline
  headlineContainerClasses={headlineContainerClasses}
  headlineClasses={headlineClasses}
  headlineLevel={headlineLevel}
  headlineText={headlineText}
  subdheadlineClasses={subheadlineClasses}
  subheadlineLevel={subheadlineLevel}
  subheadlineText={subheadlineText}
  url={url}
/>;

Take a look in the src/index.mdx file to see suggested implementations.

How can I view what's in there quickly?

Run npm i && npm run docz:dev after cloning to see what is within.

Testing & Linting

We are using Jest and XO for testing and linting.

We are using Husky to run a pre-push hook, preventing un-linted or code that fails tests from making it into the repo.

To test: npm test

To lint: npm run lint - This will also fix any simple linter errors automatically.

To push without testing or linting: git push --no-verify - This can often be helpful if you just need to push a branch for demonstration purposes or for help.

FAQs

Package last updated on 08 Nov 2019

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