Sha256: 5d71fcf56587e5eda74e3bff919ed6534f8d9714f6cb20d23aa0b27fb2628874

Contents?: true

Size: 1.03 KB

Versions: 774

Compression:

Stored size: 1.03 KB

Contents

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

const ButtonLink = (props) => (
  <>
    <Button
        aria={{ label: 'Link to Google' }}
        link="https://google.com"
        marginRight='lg'
        tabIndex={0}
        text="A Tag Button"
        {...props}
    />
    {' '}
    <Button
        aria={{ label: 'Link to Google in new window' }}
        link="https://google.com"
        marginRight='lg'
        newWindow
        tabIndex={0}
        text="Open in New Window"
        {...props}
    />
    {' '}
    <Button
        aria={{ label: 'Link to Playbook in new window' }}
        link="https://playbook.powerapp.cloud/"
        marginRight='lg'
        tabIndex={0}
        target='child'
        text="Open in a Child Tab"
        {...props}
    />
    {' '}
    <Button
        aria={{ label: 'Disabled link to Google' }}
        disabled
        link="https://google.com"
        marginRight='lg'
        tabIndex={0}
        text="A Tag Button Disabled"
        {...props}
    />
  </>
)

export default ButtonLink

Version data entries

774 entries across 774 versions & 2 rubygems

Version Path
playbook_ui_docs-13.34.1.pre.alpha.play1407statvaluekitinconsistencies3388 app/pb_kits/playbook/pb_button/docs/_button_link.jsx
playbook_ui-13.34.1.pre.alpha.play1407statvaluekitinconsistencies3388 app/pb_kits/playbook/pb_button/docs/_button_link.jsx
playbook_ui_docs-13.34.1.pre.alpha.PLAY14703378 app/pb_kits/playbook/pb_button/docs/_button_link.jsx
playbook_ui-13.34.1.pre.alpha.PLAY14703378 app/pb_kits/playbook/pb_button/docs/_button_link.jsx
playbook_ui_docs-13.34.1 app/pb_kits/playbook/pb_button/docs/_button_link.jsx
playbook_ui-13.34.1 app/pb_kits/playbook/pb_button/docs/_button_link.jsx
playbook_ui_docs-13.34.0.pre.alpha.PBNTR358responsiveadvancedtablereact3370 app/pb_kits/playbook/pb_button/docs/_button_link.jsx
playbook_ui-13.34.0.pre.alpha.PBNTR358responsiveadvancedtablereact3370 app/pb_kits/playbook/pb_button/docs/_button_link.jsx
playbook_ui_docs-13.34.0.pre.alpha.PBNTR358responsiveadvancedtablereact3369 app/pb_kits/playbook/pb_button/docs/_button_link.jsx
playbook_ui-13.34.0.pre.alpha.PBNTR358responsiveadvancedtablereact3369 app/pb_kits/playbook/pb_button/docs/_button_link.jsx
playbook_ui-13.34.0.pre.alpha.PBNTR358responsiveadvancedtablereact3368 app/pb_kits/playbook/pb_button/docs/_button_link.jsx
playbook_ui_docs-13.34.0.pre.alpha.PBNTR358responsiveadvancedtablereact3366 app/pb_kits/playbook/pb_button/docs/_button_link.jsx
playbook_ui-13.34.0.pre.alpha.PBNTR358responsiveadvancedtablereact3366 app/pb_kits/playbook/pb_button/docs/_button_link.jsx
playbook_ui-13.34.0 app/pb_kits/playbook/pb_button/docs/_button_link.jsx
playbook_ui_docs-13.33.1.pre.alpha.play1407statvaluekitinconsistencies3352 app/pb_kits/playbook/pb_button/docs/_button_link.jsx
playbook_ui-13.33.1.pre.alpha.play1407statvaluekitinconsistencies3352 app/pb_kits/playbook/pb_button/docs/_button_link.jsx
playbook_ui_docs-13.33.1.pre.alpha.PLAY14063320 app/pb_kits/playbook/pb_button/docs/_button_link.jsx
playbook_ui-13.33.1.pre.alpha.PLAY14063320 app/pb_kits/playbook/pb_button/docs/_button_link.jsx
playbook_ui-13.33.1 app/pb_kits/playbook/pb_button/docs/_button_link.jsx
playbook_ui_docs-13.33.0.pre.alpha.PBNTR405dropdownformfixesrails3311 app/pb_kits/playbook/pb_button/docs/_button_link.jsx