@intility/bifrost-react
Version:
React library for Intility's design system, Bifrost.
15 lines (14 loc) • 726 B
TypeScript
import { type FontAwesomeIconProps } from "@fortawesome/react-fontawesome";
export interface IconProps extends 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;
/** Adds a fixed width in Font Awesome 6. Does nothing in Font Awesome 7 where
* fixed width is default. If you don't want fixed width in FA7 use
* `widthAuto` instead.
* @deprecated */
fixedWidth?: boolean;
}
declare const Icon: import("react").ForwardRefExoticComponent<Omit<IconProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
export default Icon;