Sha256: e7c6861ed86fe6594b9701615ce7d4296ba3158e7402974f7c6533f0bfb549db

Contents?: true

Size: 744 Bytes

Versions: 10

Compression:

Stored size: 744 Bytes

Contents

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

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

export default ButtonDefault

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
playbook_ui-3.1.0 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-3.0.1 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-3.0.0 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-2.9.9 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-2.9.8 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-2.9.7 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-2.9.6 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-2.9.5 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-2.9.4 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-2.9.3 app/pb_kits/playbook/pb_button/docs/_button_default.jsx