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