Skip to content
This repository has been archived by the owner on Aug 2, 2024. It is now read-only.

Latest commit

 

History

History
38 lines (31 loc) · 779 Bytes

callout-card.md

File metadata and controls

38 lines (31 loc) · 779 Bytes

< Back to Components List

Callout card

polaris-callout-card implements the Polaris Callout card component.

Examples

Inline usage without secondary action:

{{polaris-callout-card
  title="New feature"
  text="This new feature is awesome!"
  primaryAction=(hash
    text="Take a look"
    onAction=(action "showNewFeature")
  )
}}

Block usage with secondary action:

{{#polaris-callout-card
  title="New feature"
  primaryAction=(hash
    text="Take a look"
    onAction=(action "showNewFeature")
  )
  secondaryAction=(hash
    text="Learn more"
    onAction=(action "showDetails")
  )
}}
  We've got an awesome new feature!
{{/polaris-callout-card}}