import React from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import { ButtonBase } from '../button-base'; import { BackgroundColor, Color, Size, } from '../../../helpers/constants/design-system'; import { BUTTON_LINK_SIZES } from './button-link.constants'; export const ButtonLink = ({ className, danger, disabled, size = Size.auto, ...props }) => { return ( ); }; ButtonLink.propTypes = { /** * An additional className to apply to the ButtonLink. */ className: PropTypes.string, /** * Boolean to change button type to Danger when true */ danger: PropTypes.bool, /** * Boolean to disable button */ disabled: PropTypes.bool, /** * Possible size values: 'SIZES.AUTO'(auto), 'SIZES.SM'(32px), 'SIZES.MD'(40px), 'SIZES.LG'(48px), 'SIZES.INHERIT'(inherits parents font-size) * Default value is 'SIZES.AUTO'. */ size: PropTypes.oneOf(Object.values(BUTTON_LINK_SIZES)), /** * ButtonLink accepts all the props from ButtonBase */ ...ButtonBase.propTypes, };