1
0
mirror of https://github.com/simple-icons/simple-icons.git synced 2024-12-26 01:13:41 +02:00
simple-icons/index.d.ts
2022-05-26 23:18:44 -07:00

25 lines
563 B
TypeScript

export interface SimpleIcon {
title: string;
slug: string;
svg: string;
path: string;
source: string;
hex: string;
guidelines?: string | undefined;
license?:
| {
type: string;
url: string;
}
| undefined;
}
/**
* @deprecated The `simple-icons` entrypoint will be removed in the next major. Please switch to using `import * as icons from "simple-icons/icons"` if you need an object with all the icons.
*/
declare const icons: Record<string, SimpleIcon> & {
Get(name: string): SimpleIcon;
};
export default icons;