UNPKG

leo-design-ui

Version:

React Design Library

9 lines (8 loc) 424 B
import { FontAwesomeIconProps } from '@fortawesome/react-fontawesome'; export type themeProps = 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'info' | 'light' | 'dark'; interface IconProps extends FontAwesomeIconProps { theme?: themeProps; className?: string; } declare const Icon: ({ icon, theme, className, ...restProps }: IconProps) => import("react/jsx-runtime").JSX.Element; export default Icon;