Sha256: dd871cb768103ad565329a89c5634c5866f5b50a236487f3922983cb5b0111d4

Contents?: true

Size: 753 Bytes

Versions: 23

Compression:

Stored size: 753 Bytes

Contents

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

const ButtonDefault = () => (
  <div>
    <Button
        dark
        marginRight="xl"
        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"
    />
    <Button
        disabled
        onClick={() => alert('button clicked!')}
        text="Button Disabled"
    />
  </div>

)

export default ButtonDefault

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
playbook_ui-6.4.2 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-7.0.0.pre.alpha9 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-7.0.0.pre.alpha8 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-7.0.0.pre.alpha7 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-6.4.1 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-7.0.0.pre.alpha6 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-7.0.0.pre.alpha5 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-6.4.0 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-6.3.1 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-7.0.0.pre.alpha4 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-7.0.0.pre.alpha3 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-7.0.0.pre.alpha2 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-6.3.0 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-6.2.1 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-6.2.0 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-7.0.0.pre.alpha1 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-6.1.0.pre.alpha5 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-6.1.0.pre.alpha4 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-6.1.0.pre.alpha3 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-6.1.0.pre.alpha2 app/pb_kits/playbook/pb_button/docs/_button_default.jsx