Sha256: 2d53a490e660f8f3410c23beb7669b092517ea29508d170ac4ccfe5c5d7e5cb4
Contents?: true
Size: 789 Bytes
Versions: 29
Compression:
Stored size: 789 Bytes
Contents
import React from "react" import { Button } from "../../" const ButtonDefault = (props) => ( <div> <Button marginRight='lg' onClick={() => alert("button clicked!")} text='Button Primary' {...props} />{" "} <Button marginRight='lg' onClick={() => alert("button clicked!")} text='Button Secondary' variant='secondary' {...props} />{" "} <Button marginRight='lg' onClick={() => alert("button clicked!")} text='Button Link' variant='link' {...props} /> <Button disabled marginRight='lg' onClick={() => alert("button clicked!")} text='Button Disabled' {...props} /> </div> ) export default ButtonDefault
Version data entries
29 entries across 29 versions & 1 rubygems