UNPKG

@denali-design/react

Version:

React.JS component library for the Denali CSS Framework

45 lines 1.05 kB
/** * Copyright 2020, Verizon Media * Licensed under the terms of the MIT license. See accompanying LICENSE.md file for terms. */ import React from 'react'; export declare const DnIcon: React.FC<DnIconProps>; export declare enum DnIconColors { brand = "brand", grey = "grey", red = "red", orange = "orange", yellow = "yellow", lime = "lime", green = "green", sky = "sky", blue = "blue", purple = "purple", violet = "violet", pink = "pink" } export declare enum DnIconShades { shade100 = "100", shade200 = "200", shade300 = "300", shade400 = "400", shade500 = "500", shade600 = "600", shade700 = "700", shade800 = "800" } export declare enum DnIconSizes { extrasmall = "extrasmall", small = "small", default = "default", medium = "medium", large = "large" } export interface DnIconProps { icon: string; size?: DnIconSizes; color?: DnIconColors; shade?: DnIconShades; className?: string; } //# sourceMappingURL=DnIcon.d.ts.map