Sha256: cffe0f6f4e27b2dc67fb71c4e182fc49a48fe3363099bcbde44305f39e973045
Contents?: true
Size: 1.04 KB
Versions: 426
Compression:
Stored size: 1.04 KB
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} /> <Button marginRight='lg' onClick={() => alert("button clicked!")} tabIndex={0} text='Button Danger' variant='danger' {...props} /> </div> ) export default ButtonDefault
Version data entries
426 entries across 426 versions & 2 rubygems