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

@datacamp/waffles-tag

Package Overview
Dependencies
Maintainers
33
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@datacamp/waffles-tag

Creates a small tag element for things like XP points.

  • 0.1.0-alpha.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
120
decreased by-84.75%
Maintainers
33
Weekly downloads
 
Created
Source

Tag

Creates a small tag element for things like XP points.

Usage

import React from 'react';
import Tag from '@datacamp/le-shared-components/lib/Tag';
class App extends React.Component {
  render() {
    return <Tag>50XP</Tag>;
  }
}

Properties

propNamepropTypedefaultValueisRequiredDescription
colorstringundefined-The background color of the tag and sets a default contrasting text color.
childrenstring+The content of the tag.
extraClassstring""-Any extra css class required for the root element.
roundedbooleanfalse-Sets the border-radius of the tag to DataCamp's default radius.
textColorstringundefined-Sets text color of the tag and overrides the default contrasting text color.

FAQs

Package last updated on 13 Dec 2018

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