UNPKG

@intility/bifrost-react

Version:

React library for Intility's design system, Bifrost.

15 lines (14 loc) 611 B
import { ComponentPropsWithRef } from "react"; import { FontAwesomeIconProps } from "@fortawesome/react-fontawesome"; type Props = FontAwesomeIconProps & { /** Adds bifrost default spacing (8px) on the right side of the icon */ marginRight?: boolean; /** Adds bifrost default spacing (8px) on the left side of the icon */ marginLeft?: boolean; }; /** * Font awesome icon wrapper */ declare const Icon: import("react").ForwardRefExoticComponent<Omit<Props, "ref"> & import("react").RefAttributes<SVGSVGElement>>; export type IconProps = ComponentPropsWithRef<typeof Icon>; export default Icon;