UNPKG

@navinc/base-react-components

Version:
13 lines (12 loc) 879 B
/// <reference types="react" /> import { StyledButton } from './button'; import Icon from './icon'; import type { VariationKey } from './button'; import { InferComponentProps } from './types.js'; declare type IconButtonProps = { variation?: VariationKey; buttonAriaLabel?: string; } & Omit<InferComponentProps<typeof StyledButton>, 'size'> & InferComponentProps<typeof Icon>; export declare const InteractiveIcon: import("styled-components").StyledComponent<({ variation, buttonAriaLabel, className, name, color, size, ...props }: IconButtonProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>; declare const _default: import("styled-components").StyledComponent<({ variation, buttonAriaLabel, className, name, color, size, ...props }: IconButtonProps) => JSX.Element, import("styled-components").DefaultTheme, {}, never>; export default _default;