Socket
Book a DemoInstallSign in
Socket

@particles/feedback-banner

Package Overview
Dependencies
Maintainers
23
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@particles/feedback-banner

Feedback banner builder that comes with tooltip and button

latest
Source
npmnpm
Version
0.2.2
Version published
Weekly downloads
0
-100%
Maintainers
23
Weekly downloads
 
Created
Source

Feedback Banner

Feedback banner builder that comes with tooltip and button. Title, tooltip text, button text, and button link can be configured through props.

Example

beta_feedback

API

FeedbackBanner

The main component to render.

props

title : String - The heading. Will probably be Beta but internationalized.

tooltipText : String - Some details about the beta for the tooltip.

buttonText : String - The CTA text. Will probably be Submit Your Feedback but internationalized.

buttonLink : String - A URL to open in new tab. Could be a UserVoice link.

stylesheets : Array - Array of CSS Modules object to over-write styles.

Change Log

0.2.1

  • Variant style specificity increased

0.2.0

  • Breaking change: buttonLink replaced with handleClick event listener
  • Optional Tooltip and Button
  • 'Info' and 'Deprecate' variants

0.1.3

  • core-react@^4

0.1.2

  • Removes dependency on @procore/core-css
  • Wraps submit button in a tag

0.1.1

  • Fixes tooltip z-index and enlarges icon size

0.1.0

  • Initial commit

FAQs

Package last updated on 22 Apr 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