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)

10 lines (9 loc) 427 B
import { ComponentType, HTMLAttributes, ReactNode } from 'react'; export type IconProps = { icon: ComponentType | ReactNode; size?: number; active?: boolean; round?: boolean; variant?: 'info' | 'success' | 'disabled' | 'progress'; } & HTMLAttributes<HTMLSpanElement>; export declare function Icon({ icon, size, round, active, variant, ...props }: IconProps): import("react/jsx-runtime").JSX.Element | null;