import React from 'react';
import PropTypes from 'prop-types';
import { SoftIcon } from '../Icon';
import { SoftToolTip } from './SoftTooltip';
export const SoftIconTip = ({ type, 'aria-label': ariaLabel, color, size, iconProps, ...rest }) => (React.createElement(SoftToolTip, Object.assign({}, rest),
    React.createElement(SoftIcon, Object.assign({ tabIndex: "0", type: type, color: color, size: size, "aria-label": ariaLabel }, iconProps))));
// @ts-ignore
SoftIconTip.propTypes = {
    /**
     * The icon type.
     */
    type: PropTypes.string,
    /**
     * The icon color.
     */
    color: PropTypes.string,
    /**
     * The icon size.
     */
    size: PropTypes.string,
    /**
     * Explain what this icon means for screen readers.
     */
    'aria-label': PropTypes.string,
    /**
     * Pass certain props down to `SoftIcon`
     */
    iconProps: PropTypes.object,
};
// @ts-ignore
SoftIconTip.defaultProps = {
    type: 'questionInCircle',
    'aria-label': 'Info',
};
//# sourceMappingURL=SoftIconTip.js.map