Sha256: d6931345b367fe1dcf5ae0c9bfae43d3448512a5e2548244c3f807b8015ab070

Contents?: true

Size: 725 Bytes

Versions: 68

Compression:

Stored size: 725 Bytes

Contents

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

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

68 entries across 68 versions & 1 rubygems

Version Path
playbook_ui-7.11.1 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-7.11.0 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-7.11.0.pre.alpha1 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-7.10.0 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-7.9.0 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-7.8.4 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-7.8.3 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-7.8.2 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-7.8.1 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-7.8.0 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-7.7.0.pre.alpha1 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-7.7.0 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-7.6.2.pre.alpha1 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-7.6.2 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-7.6.1.pre.alpha1 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-7.6.1 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-7.6.0 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-7.5.1 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-7.5.0 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-7.4.2 app/pb_kits/playbook/pb_button/docs/_button_default.jsx