developer-icons 1.1.0 → 1.2.0

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.
@@ -1,3 +1,7 @@
1
- /// <reference types="react" />
1
+ import { SVGProps } from 'react';
2
+
3
+ export interface DeveloperIconProps extends Partial<SVGProps<SVGElement>> {
4
+ size?: number;
5
+ }
2
6
  export declare const createDeveloperIcon: (iconName: string, iconContent: string) => string;
3
- export declare const Icon: (props: any) => import('react').ReactSVGElement;
7
+ export declare const Icon: ({ size, className, color, ...rest }: DeveloperIconProps) => import('react').ReactSVGElement;
@@ -0,0 +1,7 @@
1
+ declare const _default: {
2
+ xmlns: string;
3
+ width: number;
4
+ height: number;
5
+ viewBox: string;
6
+ };
7
+ export default _default;
@@ -1,2 +1,3 @@
1
- /// <reference types="react" />
2
- export declare const CanvaIcon: (props: any) => import('react').FunctionComponentElement<any>;
1
+ import { DeveloperIconProps } from '../createDeveloperIcon';
2
+
3
+ export declare const CanvaIcon: (props: DeveloperIconProps) => import('react').FunctionComponentElement<DeveloperIconProps>;
@@ -1,2 +1,3 @@
1
- /// <reference types="react" />
2
- export declare const ChatgptIcon: (props: any) => import('react').FunctionComponentElement<any>;
1
+ import { DeveloperIconProps } from '../createDeveloperIcon';
2
+
3
+ export declare const ChatgptIcon: (props: DeveloperIconProps) => import('react').FunctionComponentElement<DeveloperIconProps>;
@@ -1,2 +1,3 @@
1
- /// <reference types="react" />
2
- export declare const CssIcon: (props: any) => import('react').FunctionComponentElement<any>;
1
+ import { DeveloperIconProps } from '../createDeveloperIcon';
2
+
3
+ export declare const CssIcon: (props: DeveloperIconProps) => import('react').FunctionComponentElement<DeveloperIconProps>;
@@ -1,2 +1,3 @@
1
- /// <reference types="react" />
2
- export declare const DiscordIcon: (props: any) => import('react').FunctionComponentElement<any>;
1
+ import { DeveloperIconProps } from '../createDeveloperIcon';
2
+
3
+ export declare const DiscordIcon: (props: DeveloperIconProps) => import('react').FunctionComponentElement<DeveloperIconProps>;
@@ -1,2 +1,3 @@
1
- /// <reference types="react" />
2
- export declare const FigmaIcon: (props: any) => import('react').FunctionComponentElement<any>;
1
+ import { DeveloperIconProps } from '../createDeveloperIcon';
2
+
3
+ export declare const FigmaIcon: (props: DeveloperIconProps) => import('react').FunctionComponentElement<DeveloperIconProps>;
@@ -1,2 +1,3 @@
1
- /// <reference types="react" />
2
- export declare const FirebaseIcon: (props: any) => import('react').FunctionComponentElement<any>;
1
+ import { DeveloperIconProps } from '../createDeveloperIcon';
2
+
3
+ export declare const FirebaseIcon: (props: DeveloperIconProps) => import('react').FunctionComponentElement<DeveloperIconProps>;
@@ -1,2 +1,3 @@
1
- /// <reference types="react" />
2
- export declare const GitIcon: (props: any) => import('react').FunctionComponentElement<any>;
1
+ import { DeveloperIconProps } from '../createDeveloperIcon';
2
+
3
+ export declare const GitIcon: (props: DeveloperIconProps) => import('react').FunctionComponentElement<DeveloperIconProps>;
@@ -1,2 +1,3 @@
1
- /// <reference types="react" />
2
- export declare const GithubIcon: (props: any) => import('react').FunctionComponentElement<any>;
1
+ import { DeveloperIconProps } from '../createDeveloperIcon';
2
+
3
+ export declare const GithubIcon: (props: DeveloperIconProps) => import('react').FunctionComponentElement<DeveloperIconProps>;
@@ -1,2 +1,3 @@
1
- /// <reference types="react" />
2
- export declare const GmailIcon: (props: any) => import('react').FunctionComponentElement<any>;
1
+ import { DeveloperIconProps } from '../createDeveloperIcon';
2
+
3
+ export declare const GmailIcon: (props: DeveloperIconProps) => import('react').FunctionComponentElement<DeveloperIconProps>;
@@ -1,2 +1,3 @@
1
- /// <reference types="react" />
2
- export declare const HtmlIcon: (props: any) => import('react').FunctionComponentElement<any>;
1
+ import { DeveloperIconProps } from '../createDeveloperIcon';
2
+
3
+ export declare const HtmlIcon: (props: DeveloperIconProps) => import('react').FunctionComponentElement<DeveloperIconProps>;
@@ -1,2 +1,3 @@
1
- /// <reference types="react" />
2
- export declare const InstagramIcon: (props: any) => import('react').FunctionComponentElement<any>;
1
+ import { DeveloperIconProps } from '../createDeveloperIcon';
2
+
3
+ export declare const InstagramIcon: (props: DeveloperIconProps) => import('react').FunctionComponentElement<DeveloperIconProps>;
@@ -1,2 +1,3 @@
1
- /// <reference types="react" />
2
- export declare const JavascriptIcon: (props: any) => import('react').FunctionComponentElement<any>;
1
+ import { DeveloperIconProps } from '../createDeveloperIcon';
2
+
3
+ export declare const JavascriptIcon: (props: DeveloperIconProps) => import('react').FunctionComponentElement<DeveloperIconProps>;
@@ -1,2 +1,3 @@
1
- /// <reference types="react" />
2
- export declare const LinkedinIcon: (props: any) => import('react').FunctionComponentElement<any>;
1
+ import { DeveloperIconProps } from '../createDeveloperIcon';
2
+
3
+ export declare const LinkedinIcon: (props: DeveloperIconProps) => import('react').FunctionComponentElement<DeveloperIconProps>;
@@ -1,2 +1,3 @@
1
- /// <reference types="react" />
2
- export declare const MongodbIcon: (props: any) => import('react').FunctionComponentElement<any>;
1
+ import { DeveloperIconProps } from '../createDeveloperIcon';
2
+
3
+ export declare const MongodbIcon: (props: DeveloperIconProps) => import('react').FunctionComponentElement<DeveloperIconProps>;
@@ -1,2 +1,3 @@
1
- /// <reference types="react" />
2
- export declare const NextjsIcon: (props: any) => import('react').FunctionComponentElement<any>;
1
+ import { DeveloperIconProps } from '../createDeveloperIcon';
2
+
3
+ export declare const NextjsIcon: (props: DeveloperIconProps) => import('react').FunctionComponentElement<DeveloperIconProps>;
@@ -1,2 +1,3 @@
1
- /// <reference types="react" />
2
- export declare const NotionIcon: (props: any) => import('react').FunctionComponentElement<any>;
1
+ import { DeveloperIconProps } from '../createDeveloperIcon';
2
+
3
+ export declare const NotionIcon: (props: DeveloperIconProps) => import('react').FunctionComponentElement<DeveloperIconProps>;
@@ -1,2 +1,3 @@
1
- /// <reference types="react" />
2
- export declare const OpenaiIcon: (props: any) => import('react').FunctionComponentElement<any>;
1
+ import { DeveloperIconProps } from '../createDeveloperIcon';
2
+
3
+ export declare const OpenaiIcon: (props: DeveloperIconProps) => import('react').FunctionComponentElement<DeveloperIconProps>;
@@ -1,2 +1,3 @@
1
- /// <reference types="react" />
2
- export declare const PostmanIcon: (props: any) => import('react').FunctionComponentElement<any>;
1
+ import { DeveloperIconProps } from '../createDeveloperIcon';
2
+
3
+ export declare const PostmanIcon: (props: DeveloperIconProps) => import('react').FunctionComponentElement<DeveloperIconProps>;
@@ -1,2 +1,3 @@
1
- /// <reference types="react" />
2
- export declare const ReactIcon: (props: any) => import('react').FunctionComponentElement<any>;
1
+ import { DeveloperIconProps } from '../createDeveloperIcon';
2
+
3
+ export declare const ReactIcon: (props: DeveloperIconProps) => import('react').FunctionComponentElement<DeveloperIconProps>;
@@ -1,2 +1,3 @@
1
- /// <reference types="react" />
2
- export declare const ReactNativeIcon: (props: any) => import('react').FunctionComponentElement<any>;
1
+ import { DeveloperIconProps } from '../createDeveloperIcon';
2
+
3
+ export declare const ReactNativeIcon: (props: DeveloperIconProps) => import('react').FunctionComponentElement<DeveloperIconProps>;
@@ -1,2 +1,3 @@
1
- /// <reference types="react" />
2
- export declare const ReduxIcon: (props: any) => import('react').FunctionComponentElement<any>;
1
+ import { DeveloperIconProps } from '../createDeveloperIcon';
2
+
3
+ export declare const ReduxIcon: (props: DeveloperIconProps) => import('react').FunctionComponentElement<DeveloperIconProps>;
@@ -1,2 +1,3 @@
1
- /// <reference types="react" />
2
- export declare const SassIcon: (props: any) => import('react').FunctionComponentElement<any>;
1
+ import { DeveloperIconProps } from '../createDeveloperIcon';
2
+
3
+ export declare const SassIcon: (props: DeveloperIconProps) => import('react').FunctionComponentElement<DeveloperIconProps>;
@@ -1,2 +1,3 @@
1
- /// <reference types="react" />
2
- export declare const TailwindCssIcon: (props: any) => import('react').FunctionComponentElement<any>;
1
+ import { DeveloperIconProps } from '../createDeveloperIcon';
2
+
3
+ export declare const TailwindCssIcon: (props: DeveloperIconProps) => import('react').FunctionComponentElement<DeveloperIconProps>;
@@ -1,2 +1,3 @@
1
- /// <reference types="react" />
2
- export declare const TypescriptIcon: (props: any) => import('react').FunctionComponentElement<any>;
1
+ import { DeveloperIconProps } from '../createDeveloperIcon';
2
+
3
+ export declare const TypescriptIcon: (props: DeveloperIconProps) => import('react').FunctionComponentElement<DeveloperIconProps>;
@@ -1,2 +1,3 @@
1
- /// <reference types="react" />
2
- export declare const ViteIcon: (props: any) => import('react').FunctionComponentElement<any>;
1
+ import { DeveloperIconProps } from '../createDeveloperIcon';
2
+
3
+ export declare const ViteIcon: (props: DeveloperIconProps) => import('react').FunctionComponentElement<DeveloperIconProps>;
@@ -1,2 +1,3 @@
1
- /// <reference types="react" />
2
- export declare const VsCodeIcon: (props: any) => import('react').FunctionComponentElement<any>;
1
+ import { DeveloperIconProps } from '../createDeveloperIcon';
2
+
3
+ export declare const VsCodeIcon: (props: DeveloperIconProps) => import('react').FunctionComponentElement<DeveloperIconProps>;
@@ -1,2 +1,3 @@
1
- /// <reference types="react" />
2
- export declare const WordpressIcon: (props: any) => import('react').FunctionComponentElement<any>;
1
+ import { DeveloperIconProps } from '../createDeveloperIcon';
2
+
3
+ export declare const WordpressIcon: (props: DeveloperIconProps) => import('react').FunctionComponentElement<DeveloperIconProps>;
package/dist/main.d.ts CHANGED
@@ -1,4 +1,6 @@
1
1
  export * from './icons';
2
2
  export * from './createDeveloperIcon';
3
3
  export * from './utils/capitalizeFirstLetter';
4
+ export * from './utils/mergeClassNames';
5
+ export { default as DefaultAttributes } from './defaultAttributes';
4
6
  export { default as IconsData } from './icons/icons.data';