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