@qodo/design-system 0.20.12 → 0.20.13

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 CHANGED
@@ -14,6 +14,7 @@ import { FormState } from 'react-hook-form';
14
14
  import { ForwardRefExoticComponent } from 'react';
15
15
  import { FunctionComponent } from 'react';
16
16
  import { HTMLAttributes } from 'react';
17
+ import { IconType } from 'react-icons';
17
18
  import { JSX as JSX_2 } from 'react/jsx-runtime';
18
19
  import { LucideIcon } from 'lucide-react';
19
20
  import { MouseEvent as MouseEvent_2 } from 'react';
@@ -158,6 +159,8 @@ export declare const Button: React_2.ForwardRefExoticComponent<ButtonProps & Rea
158
159
 
159
160
  export declare interface ButtonProps extends React_2.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
160
161
  loading?: boolean;
162
+ icon?: LucideIcon | IconType;
163
+ iconPosition?: "left" | "right";
161
164
  }
162
165
 
163
166
  declare const buttonVariants: (props?: ({