import React, { FunctionComponent } from 'react'; import { TouchableProps } from '../Touchable'; import styles from './IconButton.module.scss'; export interface IconButtonProps extends TouchableProps { /** accessibilityLabel should provide meaningful context about button to those who rely on a screen reader to interact with the UI */ accessibilityLabel: string; /** Optional custom text for the IconButton's tooltip. If not provided, the accessibilityLabel is used. */ tooltipText?: string; /** If you are applying positioning styles the IconButton directly rather than via an ancestor, use this classname prop to set those positioning attributes, e.g. top, left, right, margin, etc. */ wrapperClassName?: string; /** Apply a className to change the icon color. */ iconClassName?: string; /** The icon to display inside the IconButton */ icon: React.ReactElement; } export declare type Props = IconButtonProps; export declare const IconButton: FunctionComponent; export default IconButton; export { styles }; //# sourceMappingURL=index.d.ts.map