mirror of
https://github.com/Mibew/simple-icons.git
synced 2024-11-15 09:54:11 +03: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;
|