Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
@paprika/heading
Advanced tools
Heading component provides different level of headings with various stylings such as divides, underline, light or hidden.
Heading component provides different level of headings with various stylings such as divides, underline, light or hidden.
yarn add @paprika/heading
or with npm:
npm install @paprika/heading
Prop | Type | required | default | Description |
---|---|---|---|---|
a11yText | string | false | null | Optional aria text if it should be more descriptive than what is rendered |
children | node | true | - | Heading content is required |
displayLevel | [ 1, 2, 3, 4, 5, 6] | false | null | Optional display level(1-6) affects styles only |
hasDivider | bool | false | false | Horizontal divider style |
hasUnderline | bool | false | false | Underline style |
isHidden | bool | false | false | Optional, visually hide the header |
isLight | bool | false | false | Optional, renders the children at a lighter font weight |
isSemantic | bool | false | true | Optional, using to avoid styles override by global css. |
level | [ 1, 2, 3, 4, 5, 6] | true | - | Heading level(1-6) is required. |
For a basic heading:
import Heading from "@paprika/heading";
<Heading level={1}>Heading One</Heading>;
FAQs
Heading component provides different level of headings with various stylings such as divides, underline, light or hidden.
The npm package @paprika/heading receives a total of 776 weekly downloads. As such, @paprika/heading popularity was classified as not popular.
We found that @paprika/heading 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
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.