@retailmenot/anchor
Version:
A React UI Library by RetailMeNot
26 lines (25 loc) • 1.81 kB
TypeScript
/// <reference types="react" />
import { SpaceProps } from '@xstyled/system';
declare type ScaleFactors = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
export interface IconSVGProps extends React.HTMLAttributes<HTMLSpanElement>, SpaceProps {
scale?: ScaleFactors;
color?: string;
className?: string;
children?: any;
}
interface StyledIconSVGProps extends IconSVGProps {
$color?: string;
}
export declare const Scale: {
xs: number;
sm: number;
md: number;
lg: number;
xl: number;
xxl: number;
};
export declare const DefaultColor = "currentColor";
export declare const DefaultScale = "md";
export declare const StyledIcon: import("styled-components").StyledComponent<"span", any, StyledIconSVGProps, never>;
export declare type AnchorIcons = 'AddEvent' | 'ArrowBack' | 'ArrowForward' | 'AvatarIcon' | 'AvatarOutline' | 'BarCode' | 'BulletList' | 'Calendar' | 'Camera' | 'Cart' | 'CashBack' | 'Cells' | 'Chat' | 'Check' | 'CheckSmall' | 'ChevronDown' | 'ChevronDownSmall' | 'ChevronLeft' | 'ChevronLeftSmall' | 'ChevronRight' | 'ChevronRightSmall' | 'ChevronUp' | 'ChevronUpSmall' | 'Clock' | 'Close' | 'CloseSmall' | 'CommentMore' | 'CreditCard' | 'CrossHairs' | 'Cut' | 'Disabled' | 'Dislike' | 'Download' | 'Ellipses' | 'EllipsesVertical' | 'Envelope' | 'EnvelopeOpen' | 'Error' | 'Expand' | 'Gear' | 'GiftCard' | 'Hamburger' | 'Heart' | 'HeartOutline' | 'Home' | 'Info' | 'InfoOutline' | 'Laptop' | 'Lightning' | 'Like' | 'ListIcon' | 'Lock' | 'Map' | 'Marker' | 'MarkerOutline' | 'Mobile' | 'News' | 'Pencil' | 'Play' | 'Plus' | 'PlusSmall' | 'Print' | 'Question' | 'QuestionOutline' | 'Refresh' | 'RetailMeNotLogo' | 'SadFace' | 'Search' | 'Share' | 'Sliders' | 'Star' | 'StarHalf' | 'StarOutline' | 'Success' | 'SuccessOutline' | 'Tag' | 'TagAdd' | 'Upload';
export {};