@dnb/eufemia
Version:
DNB Eufemia Design System UI Library
13 lines (12 loc) • 527 B
TypeScript
/**
* Icons that are known to render correctly when filled with CSS.
*
* To add an icon here, verify that the SVG looks correct when all its
* paths are filled with `currentColor`.
*/
declare const filledIconNames: readonly ["heart", "star"];
export type FilledIconName = (typeof filledIconNames)[number];
declare const filledIconSet: ReadonlySet<string>;
/** Check whether the given icon name supports the filled variant. */
export declare function isSupportedFilled(name: string): boolean;
export default filledIconSet;