alinea
Version:
[](https://npmjs.org/package/alinea) [](https://packagephobia.com/result?p=alinea)
19 lines (18 loc) • 785 B
TypeScript
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>>;