Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
ta-react-polymorphic-share-buttons
Advanced tools
Readme
Renders a collection of social sharing buttons, accessing the Newsnet API to get the relevant data of the defined article.
yarn add ta-react-polymorphic-share-buttons
import PolymorphicShareButtons from 'ta-react-polymorphic-share-buttons';
//...
class YourComponent extends React.Component {
render() {
return (
<PolymorphicShareButtons
articleID='34511213'
hashtags={['TAGrafik', 'ddj']}
displayType='horizontal icons'/>
)
}
}
Property | Type | Required | Default | Description |
---|---|---|---|---|
articleID | string | yes | – | The article ID of the link article. |
displayType | One of 'horizontal icons' or 'vertical buttons' | no | 'vertical buttons' | How the links are rendered. Currently supported: Stacked buttons or horizontal icons with share count. |
inverted | bool | no | false | Used when icon list is displayed on dark backgrounds. |
hashtags | [string] | no | Array of strings to be used as hashtags when sharing. |
In case the article with the given ID can't be found, the component will fall back to sensible defaults and still provide sharing buttons.
Currently available values:
FAQs
Renders a collection of social sharing buttons, accessing the Newsnet API to get the relevant data of the defined article.
The npm package ta-react-polymorphic-share-buttons receives a total of 4 weekly downloads. As such, ta-react-polymorphic-share-buttons popularity was classified as not popular.
We found that ta-react-polymorphic-share-buttons demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.