Sha256: ee58a450211ed5803e40b2858b93e5fcc0efbf944ed632d1ecb5c3c3f523aaf5

Contents?: true

Size: 659 Bytes

Versions: 171

Compression:

Stored size: 659 Bytes

Contents

import React from 'react'
import { Button } from '../../'

const ButtonLink = (props) => (
  <div>
    <Button
        aria={{ label: 'Link to Google' }}
        link="https://google.com"
        text="A Tag Button"
        {...props}
    />
    {' '}
    <Button
        aria={{ label: 'Link to Google in new window' }}
        link="https://google.com"
        newWindow
        text="Open in New Window"
        {...props}
    />
    {' '}
    <Button
        aria={{ label: 'Disabled link to Google' }}
        disabled
        link="https://google.com"
        text="A Tag Button Disabled"
        {...props}
    />
  </div>
)

export default ButtonLink

Version data entries

171 entries across 171 versions & 1 rubygems

Version Path
playbook_ui-12.2.0 app/pb_kits/playbook/pb_button/docs/_button_link.jsx
playbook_ui-12.1.0 app/pb_kits/playbook/pb_button/docs/_button_link.jsx
playbook_ui-12.0.0 app/pb_kits/playbook/pb_button/docs/_button_link.jsx
playbook_ui-11.20.0.pre.alpha.passthrough1 app/pb_kits/playbook/pb_button/docs/_button_link.jsx
playbook_ui-11.20.0.pre.alpha.railsdialog1 app/pb_kits/playbook/pb_button/docs/_button_link.jsx
playbook_ui-11.20.0 app/pb_kits/playbook/pb_button/docs/_button_link.jsx
playbook_ui-11.19.0.pre.alpha.map1 app/pb_kits/playbook/pb_button/docs/_button_link.jsx
playbook_ui-11.19.0.pre.alpha.pagpassthrough1 app/pb_kits/playbook/pb_button/docs/_button_link.jsx
playbook_ui-11.19.0 app/pb_kits/playbook/pb_button/docs/_button_link.jsx
playbook_ui-11.18.0.pre.alpha.pagutility1 app/pb_kits/playbook/pb_button/docs/_button_link.jsx
playbook_ui-11.19.0.pre.typeahead1 app/pb_kits/playbook/pb_button/docs/_button_link.jsx
playbook_ui-11.18.0 app/pb_kits/playbook/pb_button/docs/_button_link.jsx
playbook_ui-11.17.0 app/pb_kits/playbook/pb_button/docs/_button_link.jsx
playbook_ui-11.15.0.pre.alpha.dependencies1 app/pb_kits/playbook/pb_button/docs/_button_link.jsx
playbook_ui-11.16.0.pre.alpha.paginationrails1 app/pb_kits/playbook/pb_button/docs/_button_link.jsx
playbook_ui-11.16.0 app/pb_kits/playbook/pb_button/docs/_button_link.jsx
playbook_ui-11.16.0.pre.alpha.reactupgrade1 app/pb_kits/playbook/pb_button/docs/_button_link.jsx
playbook_ui-11.15.0.pre.alpha.table1 app/pb_kits/playbook/pb_button/docs/_button_link.jsx
playbook_ui-11.16.0.pre.alpha.pagination.rails1 app/pb_kits/playbook/pb_button/docs/_button_link.jsx
playbook_ui-11.15.0 app/pb_kits/playbook/pb_button/docs/_button_link.jsx