tech-stack-icons 3.0.2 → 3.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +17 -0
- package/package.json +1 -1
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { FC, CSSProperties } from "react";
|
|
2
|
+
type Variant = "light" | "dark" | "grayscale";
|
|
3
|
+
type IconDefinition = {
|
|
4
|
+
keywords?: string[];
|
|
5
|
+
svg: Record<Variant, string>;
|
|
6
|
+
};
|
|
7
|
+
type IconsMap = Record<string, IconDefinition>;
|
|
8
|
+
declare const typedIconsData: IconsMap;
|
|
9
|
+
type IconName = keyof typeof typedIconsData;
|
|
10
|
+
interface StackIconProps {
|
|
11
|
+
name: IconName;
|
|
12
|
+
variant?: Variant;
|
|
13
|
+
className?: string;
|
|
14
|
+
style?: CSSProperties;
|
|
15
|
+
}
|
|
16
|
+
declare const StackIcon: FC<StackIconProps>;
|
|
17
|
+
export default StackIcon;
|