Skip to content

Commit

Permalink
feat(core): implement type generation
Browse files Browse the repository at this point in the history
  • Loading branch information
oktaysenkan committed Jan 7, 2025
1 parent ad25091 commit 1c5d526
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions packages/core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,13 +253,15 @@ declare module "@monicon/icon-loader" {
*
* @example "mdi:home"
*
* For TypeScript users, you must check https://monicon-docs.vercel.app/troubleshooting/typescript for more information.
* For TypeScript users, you must check below for more information.
*
* @link https://monicon-docs.vercel.app/troubleshooting/typescript
*/
name: MoniconIconName;
/**
* The size of the icon.
*
* @default icon collection size
* @default collection's view box size
*/
size?: number;
/**
Expand Down
6 changes: 4 additions & 2 deletions packages/icon-loader/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@ export type MoniconProps = {
*
* @example "mdi:home"
*
* For TypeScript users, you must check https://monicon-docs.vercel.app/troubleshooting/typescript for more information.
* For TypeScript users, you must check below for more information.
*
* @link https://monicon-docs.vercel.app/troubleshooting/typescript
*/
name: string;
/**
* The size of the icon.
*
* @default icon collection size
* @default collection's view box size
*/
size?: number;
/**
Expand Down

0 comments on commit 1c5d526

Please sign in to comment.