Sha256: ac2f02e35aa0cdf31f2ddc77485833bab4da28d14ad193dcafb77f5398b7a36b
Contents?: true
Size: 700 Bytes
Versions: 9
Compression:
Stored size: 700 Bytes
Contents
/* @flow */ import React from 'react' import { Button, Icon } from '../' type CircleIconButtonProps = { variant?: 'primary' | 'secondary' | 'link', disabled?: Boolean, dark?: Boolean, className?: String, icon: String, id?: String, } const CircleIconButton = (props: CircleIconButtonProps) => { const { variant, disabled, icon, dark, } = props return ( <div className="pb_circle_icon_button_kit"> <Button dark={dark} disabled={disabled} text={null} variant={variant} > <Icon fixedWidth icon={icon} /> </Button> </div> ) } export default CircleIconButton
Version data entries
9 entries across 9 versions & 1 rubygems