Sha256: c93ab6039d7fbfe77ea1e5a675b0dbf01d637c7348606b4a8768ede0fde6aa35

Contents?: true

Size: 878 Bytes

Versions: 685

Compression:

Stored size: 878 Bytes

Contents

import React from "react"
import { Button } from "playbook-ui"

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

export default ButtonDefault

Version data entries

685 entries across 685 versions & 2 rubygems

Version Path
playbook_ui-14.8.0.pre.rc.1 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui_docs-14.7.0.pre.alpha.dependabotnpmandyarnintltelinput24704448 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-14.7.0.pre.alpha.dependabotnpmandyarnintltelinput24704448 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui_docs-14.8.0.pre.rc.0 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-14.8.0.pre.rc.0 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-14.7.0 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui_docs-14.6.2.pre.alpha.PLAY1613darkdatetimecolors4432 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-14.6.2.pre.alpha.PLAY1613darkdatetimecolors4432 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui_docs-14.7.0.pre.rc.19 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-14.7.0.pre.rc.19 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui_docs-14.7.0.pre.rc.18 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-14.7.0.pre.rc.18 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui_docs-14.6.2.pre.alpha.PBNTR667railstypeaheadformintegration4424 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-14.6.2.pre.alpha.PBNTR667railstypeaheadformintegration4424 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui_docs-14.7.0.pre.rc.17 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-14.7.0.pre.rc.17 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui_docs-14.7.0.pre.rc.16 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-14.7.0.pre.rc.16 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui_docs-14.7.0.pre.rc.15 app/pb_kits/playbook/pb_button/docs/_button_default.jsx
playbook_ui-14.7.0.pre.rc.15 app/pb_kits/playbook/pb_button/docs/_button_default.jsx