Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 970 Bytes

File metadata and controls

34 lines (27 loc) · 970 Bytes

EbayCtaButton

Demo

Storybook

Usage

Import JS

import { EbayCtaButton } from '@ebay/ui-core-react/ebay-cta-button'

Import following styles from SKIN

import "@ebay/skin/cta-button"

Or import styles using SCSS/CSS

import '@ebay/skin/cta-button.css'

Big button

<EbayCtaButton size="large">I'm a big CTA button!</EbayCtaButton>

Attributes

Name Type Stateful Required Description Data
size String No No can be only large or just omit it for default appearance
href String No No URL
fluid Boolean No No takes the whole width of the parent element
truncate Boolean No No will truncate the text of the button onto a single line, and adds an ellipsis, when the button's text overflows