Sha256: e0da40c67bd46c951e52806e28061ec67e9a711a896d577dc509b75838bcb289

Contents?: true

Size: 724 Bytes

Versions: 193

Compression:

Stored size: 724 Bytes

Contents

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

const ButtonDefault = (props) => (
  <div>
    <Button
        marginRight="xl"
        onClick={() => alert('button clicked!')}
        text="Button Primary"
        {...props}
    />
    {' '}
    <Button
        onClick={() => alert('button clicked!')}
        text="Button Secondary"
        variant="secondary"
        {...props}
    />
    {' '}
    <Button
        onClick={() => alert('button clicked!')}
        text="Button Link"
        variant="link"
        {...props}
    />
    <Button
        disabled
        onClick={() => alert('button clicked!')}
        text="Button Disabled"
        {...props}
    />
  </div>
)

export default ButtonDefault

Version data entries

193 entries across 193 versions & 1 rubygems

Version Path
playbook_ui-10.19.0 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-10.19.0.pre.lightbox app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-10.18.2 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-10.19.0.pre.popover.alpha1 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-10.18.1 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-10.18.0 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-10.17.0 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-10.16.0 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-10.15.1 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-10.15.1.pre.alpha.rubocop.deps app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-10.15.0 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-10.14.1.pre.alpha2 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-10.14.1.pre.alpha1 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-10.14.0 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-10.13.1 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-10.13.0 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-10.13.0.pre.node.update app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-10.12.0 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-10.11.0 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-10.10.0 app/pb_kits/playbook/pb_button/docs/_button_default.jsx