How to use the pcln-design-system.Button.a function in pcln-design-system

To help you get started, we’ve selected a few pcln-design-system examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github priceline / design-system / docs / src / Landing.js View on Github external
Card,
  BackgroundImage,
  Heading,
  Text,
  Button,
  Divider,
  Icon
} from 'pcln-design-system'
import PageTitle from './PageTitle'
import Pre from './Pre'
import Markdown from './Markdown'
import Container from './Container'
import Description from './Description'

// This will require a fix in the Button component
Button.a = Button.withComponent('a').extend`
  line-height: 48px;
`

const Landing = props => {
  const gettingStarted = props.content.find(c => c.name === 'GettingStarted')
    .content
  return (
    
      
        Priceline One
        {props.pkg.description}

pcln-design-system

Priceline Design System

MIT
Latest version published 2 days ago

Package Health Score

85 / 100
Full package analysis

Similar packages