developer-icons 1.1.0 → 2.0.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.
package/README.md CHANGED
@@ -1,13 +1,11 @@
1
1
  # Developer Icons
2
2
 
3
- ## About
4
-
5
3
  `Developer Icons` is a collection of ready-to-use high-quality vector icons for developers and designers. Fully customizable options with props, className, inline styles, etc. and completely typescript-supported components.
6
4
 
7
5
  ## Features
8
6
 
9
7
  - **High-Quality Icons**: A curated set of icons suitable for various development projects.
10
- - **Easy to Use**: Icons are organized and can be easily integrated into projects.
8
+ - **Easy to Use**: Icons are organized and can be easily integrated into projects as react components.
11
9
  - **Open Source**: Freely available for personal and commercial use, adhering to specified licenses.
12
10
 
13
11
  ## Installation
@@ -38,7 +36,7 @@ Import named icon components from the `developer-icons` package and use it as an
38
36
  import { HtmlIcon, JavascriptIcon } from "developer-icons";
39
37
 
40
38
  //inside your React component JSX
41
- export const ReactComponent = () => {
39
+ export const YourReactComponent = () => {
42
40
  return (
43
41
  <div>
44
42
  <HtmlIcon className="html-icon" />
@@ -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;
package/dist/icon.d.ts ADDED
@@ -0,0 +1,6 @@
1
+ import { SVGProps } from 'react';
2
+
3
+ export interface DeveloperIconProps extends Partial<SVGProps<SVGElement>> {
4
+ size?: number;
5
+ }
6
+ export declare const Icon: ({ size, className, color, ...rest }: DeveloperIconProps) => import('react').ReactSVGElement;
@@ -1,2 +1,3 @@
1
- /// <reference types="react" />
2
- export declare const CanvaIcon: (props: any) => import('react').FunctionComponentElement<any>;
1
+ import { DeveloperIconProps } from '../main';
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 '../main';
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 '../main';
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 '../main';
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 '../main';
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 '../main';
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 '../main';
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 '../main';
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 '../main';
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 '../main';
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 '../main';
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 '../main';
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 '../main';
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 '../main';
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 '../main';
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 '../main';
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 '../main';
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 '../main';
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 '../main';
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 '../main';
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 '../main';
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 '../main';
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 '../main';
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 '../main';
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 '../main';
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 '../main';
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 '../main';
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
- export * from './createDeveloperIcon';
3
- export * from './utils/capitalizeFirstLetter';
4
2
  export { default as IconsData } from './icons/icons.data';
3
+ export * from './utils/capitalizeFirstLetter';
4
+ export * from './utils/mergeClassNames';
5
+ export { default as DefaultAttributes } from './defaultAttributes';
6
+ export * from './icon';