Sha256: ebd3ba7ee92b65c713d12604442a6a9f9a5944139913295de2888e00320b912b

Contents?: true

Size: 629 Bytes

Versions: 6

Compression:

Stored size: 629 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

6 entries across 6 versions & 1 rubygems

Version Path
playbook_ui-6.6.1 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-7.0.0.pre.alpha10 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-6.6.0 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-6.5.2 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-6.5.1 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-6.5.0 app/pb_kits/playbook/pb_button/docs/_button_default.jsx