///
/** @module @airtable/blocks/ui: FieldIcon */ /** */
import * as PropTypes from 'prop-types';
import Field from '../models/field';
import { SharedIconProps } from './icon';
/**
* Props for the {@link FieldIcon} component. Also accepts:
* * {@link IconStyleProps}
*
* @docsPath UI/components/FieldIcon
*/
interface FieldIconProps extends SharedIconProps {
/** The field model to display an icon for. */
field: Field;
}
/**
* A vector icon for a field’s type.
*
* [[ Story id="fieldicon--example" title="FieldIcon example" ]]
*
* @docsPath UI/components/FieldIcon
* @component
*/
declare const FieldIcon: {
(props: FieldIconProps): JSX.Element;
propTypes: {
onMouseEnter: PropTypes.Requireable<(...args: any[]) => any>;
onMouseLeave: PropTypes.Requireable<(...args: any[]) => any>;
onClick: PropTypes.Requireable<(...args: any[]) => any>;
hasOnClick: PropTypes.Requireable;
size: PropTypes.Requireable;
fillColor: PropTypes.Requireable;
className: PropTypes.Requireable;
style: PropTypes.Requireable