UNPKG

alinea

Version:

[![npm](https://img.shields.io/npm/v/alinea.svg)](https://npmjs.org/package/alinea) [![install size](https://packagephobia.com/badge?p=alinea)](https://packagephobia.com/result?p=alinea)

19 lines (18 loc) 785 B
import { ComponentType, HTMLAttributes, HTMLProps } from 'react'; export type IconButtonProps = HTMLAttributes<HTMLButtonElement> & { icon: ComponentType; size?: number; active?: boolean; disabled?: boolean; }; export declare const IconButton: import("react").ForwardRefExoticComponent<HTMLAttributes<HTMLButtonElement> & { icon: ComponentType; size?: number | undefined; active?: boolean | undefined; disabled?: boolean | undefined; } & import("react").RefAttributes<HTMLButtonElement>>; export type IconLinkProps = HTMLProps<HTMLAnchorElement> & { icon: ComponentType; active?: boolean; }; export declare const IconLink: import("react").ForwardRefExoticComponent<Omit<IconLinkProps, "ref"> & import("react").RefAttributes<HTMLAnchorElement>>;