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

@arcteryx/components-callout

Package Overview
Dependencies
Maintainers
7
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arcteryx/components-callout

Arcteryx callout

  • 1.0.10
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-97.54%
Maintainers
7
Weekly downloads
 
Created
Source

@arcteryx/components-callout

Install

npm install --save @arcteryx/components-callout

Usage

GENERIC CALLOUT

The generic callout is a clickable callout element that slides into the page and contains text as well as some child element. When the close button is clicked, the callout will no longer appear for the user in the current session.

PROPS

text: The text that will show up at the bottom of the Callout

isActive: This will enable/disable the Callout

handleClick: The click handler function that is executed when the Callout is clicked

handleCloseButton: The click handler function that is executed when the Callout close button is clicked

child: The child component enclosed in the Callout will appear above the 'text' prop. You can add an image here.

CALL

The following is an example of calling the generic Callout component:

<Callout
  text="Questions about product or sizing?"
  isActive={true}
  handleClick={e => handleClick(e)}
  handleCloseButtonClick={handleCloseButtonClick}
>
  <figure>
    <Imgix
      src={
        "https://images-dynamic-arcteryx.imgix.net/virtual-advisor-callout/a6ff6a61-6c57-44ec-bdb0-dcae77bb05d6.png"
      }
      height={83}
      imgixParams={{ auto: "format,compress", q: 75 }}
      htmlAttributes={{ alt: "Virtual Advisor" }}
    />
    <figcaption>Virtual Advisor</figcaption>
  </figure>
</Callout>

VIRTUAL ADVISOR

CALL

VirtualAdvisor calls the generic Callout with props specific to the Virtual Advisor (see the props used in the above example)

<VirtualAdvisor />

FAQs

Package last updated on 20 Oct 2020

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