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