Sha256: dd6ccceb0685d88589ee8f9aa31c5f97630ff710ea5be53db196aded78d8857f

Contents?: true

Size: 598 Bytes

Versions: 38

Compression:

Stored size: 598 Bytes

Contents

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

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

export default ButtonDefault

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
playbook_ui-4.17.0.pre.alpha1 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-4.16.0 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-4.15.0 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-4.14.0 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-4.15.1.alpha1 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-4.13.1 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-4.13.0 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-4.12.0 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-4.11.0 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-4.11.0.pre.alpha3 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-4.11.0.pre.alpha.pre.2 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-4.10.0 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-4.10.0.pre.alpha1 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-4.9.0.pre.alpha1 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-4.9.0 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-4.8.2 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-4.8.1 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-4.7.1 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-4.7.0 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-4.6.1 app/pb_kits/playbook/pb_button/docs/_button_default.jsx