mirror of
https://github.com/simple-icons/simple-icons.git
synced 2024-12-26 01:13:41 +02:00
4c7b870af6
* Remove `.get` from package's default export * Update TypeScript definitions * Updated index.js test suite
22 lines
364 B
TypeScript
22 lines
364 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;
|
|
}
|
|
|
|
declare const icons: Record<string, SimpleIcon> & {
|
|
Get(name: string): SimpleIcon;
|
|
};
|
|
|
|
export default icons;
|